Set<String> suffixes = directoryService.getPartitionNexus().listSuffixes();
/** * * Creates a new instance of ReferralManagerImpl. * * @param directoryService The directory service * @throws LdapException If we can't initialize the manager */ public ReferralManagerImpl( DirectoryService directoryService ) throws LdapException { lockWrite(); try { referrals = new DnNode<>(); PartitionNexus nexus = directoryService.getPartitionNexus(); Set<String> suffixes = nexus.listSuffixes(); objectClassAT = directoryService.getSchemaManager().getAttributeType( SchemaConstants.OBJECT_CLASS_AT ); init( directoryService, suffixes.toArray( new String[] {} ) ); } finally { unlock(); } }
Set<String> suffixes = nexus.listSuffixes();
Set<String> suffixes = nexus.listSuffixes(); ExprNode filter = new EqualityNode<String>( ocAt, new Value( ocAt, SchemaConstants.SUBENTRY_OC ) ); SearchControls controls = new SearchControls();