public interface PartitionNexus extends Partition
Partition
that contains all other partitions, and
routes all operations to the child partition that matches to its base suffixes.
It also provides some extended operations such as accessing rootDSE and
listing base suffixes.Modifier and Type | Field and Description |
---|---|
static byte[] |
ADMIN_PASSWORD_BYTES |
static String |
ADMIN_PASSWORD_STRING
the initial admin passwd set on startup
|
static String |
ADMIN_UID
the admin super user uid
|
DEFAULT_ID, ROOT_ID
Modifier and Type | Method and Description |
---|---|
void |
addContextPartition(Partition partition)
Add a partition to the server.
|
boolean |
compare(CompareOperationContext compareContext) |
Partition |
getPartition(org.apache.directory.api.ldap.model.name.Dn dn)
Get's the partition corresponding to a distinguished name.
|
org.apache.directory.api.ldap.model.entry.Entry |
getRootDse(GetRootDseOperationContext getRootDseContext)
Get's the RootDSE entry for the DSA.
|
org.apache.directory.api.ldap.model.entry.Value<?> |
getRootDseValue(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
Get's the RootDSE value associated with an AttributeType
|
org.apache.directory.api.ldap.model.name.Dn |
getSuffixDn(org.apache.directory.api.ldap.model.name.Dn dn)
Finds the distinguished name of the suffix that would hold an entry with
the supplied distinguished name parameter.
|
Set<String> |
listSuffixes()
Gets an iteration over the Name suffixes of the partitions managed by this
DefaultPartitionNexus . |
void |
registerSupportedExtensions(Set<String> extensionOids)
Adds a set of supportedExtension (OID Strings) to the RootDSE.
|
void |
registerSupportedSaslMechanisms(Set<String> supportedSaslMechanisms)
Adds a set of supportedSaslMechanisms (OID Strings) to the RootDSE.
|
void |
removeContextPartition(org.apache.directory.api.ldap.model.name.Dn partitionDn)
Remove a partition from the server.
|
add, delete, destroy, dumpIndex, getContextCsn, getId, getSchemaManager, getSuffixDn, hasEntry, initialize, isInitialized, lookup, modify, move, moveAndRename, rename, saveContextCsn, search, setCacheService, setId, setSchemaManager, setSuffixDn, sync, unbind
static final String ADMIN_UID
static final String ADMIN_PASSWORD_STRING
static final byte[] ADMIN_PASSWORD_BYTES
org.apache.directory.api.ldap.model.entry.Entry getRootDse(GetRootDseOperationContext getRootDseContext)
org.apache.directory.api.ldap.model.entry.Value<?> getRootDseValue(org.apache.directory.api.ldap.model.schema.AttributeType attributeType)
attributeType
- The attribute type for which we want a valuevoid addContextPartition(Partition partition) throws org.apache.directory.api.ldap.model.exception.LdapException
Partition
- The Partition to addException
- If the addition can't be doneorg.apache.directory.api.ldap.model.exception.LdapException
void removeContextPartition(org.apache.directory.api.ldap.model.name.Dn partitionDn) throws org.apache.directory.api.ldap.model.exception.LdapException
partitionDn
- the partition DnException
- If the removal can't be doneorg.apache.directory.api.ldap.model.exception.LdapException
Partition getPartition(org.apache.directory.api.ldap.model.name.Dn dn) throws org.apache.directory.api.ldap.model.exception.LdapException
dn
- the normalized distinguished name to get a partition forException
- if there is no partition for the dnorg.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.name.Dn getSuffixDn(org.apache.directory.api.ldap.model.name.Dn dn) throws org.apache.directory.api.ldap.model.exception.LdapException
The
- Dn we want to find the suffix fromorg.apache.directory.api.ldap.model.exception.LdapException
Set<String> listSuffixes() throws org.apache.directory.api.ldap.model.exception.LdapException
DefaultPartitionNexus
.Exception
- if there are any problemsorg.apache.directory.api.ldap.model.exception.LdapException
void registerSupportedExtensions(Set<String> extensionOids) throws org.apache.directory.api.ldap.model.exception.LdapException
extensionOids
- a set of OID strings to add to the supportedExtension
attribute in the RootDSEorg.apache.directory.api.ldap.model.exception.LdapException
void registerSupportedSaslMechanisms(Set<String> supportedSaslMechanisms) throws org.apache.directory.api.ldap.model.exception.LdapException
extensionOids
- a set of OID strings to add to the supportedSaslMechanisms
attribute in the RootDSEorg.apache.directory.api.ldap.model.exception.LdapException
boolean compare(CompareOperationContext compareContext) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2016. All rights reserved.