adminDn.normalize( registries.getAttributeTypeRegistry().getNormalizerMapping() );
CoreSession adminSession = new DefaultCoreSession(
new LdapPrincipal( adminDn, AuthenticationLevel.STRONG ), directoryService );
AddOperationContext addOperationContext = new AddOperationContext( adminSession, systemEntry );
if ( !system.hasEntry( new EntryOperationContext( adminSession, systemEntry.getDn() ) ) )
{
system.add( addOperationContext );
}
String key = system.getSuffixDn().toString();