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
|
Modifier and Type | Method and Description |
---|---|
void |
addContextPartition(AddContextPartitionOperationContext opContext)
Add a partition to the server.
|
boolean |
compare(CompareOperationContext opContext) |
org.apache.directory.shared.ldap.name.DN |
getMatchedName(GetMatchedNameOperationContext matchedNameContext)
Gets the most significant Dn that exists within the server for any Dn.
|
Partition |
getPartition(org.apache.directory.shared.ldap.name.DN dn)
Get's the partition corresponding to a distinguished name.
|
ClonedServerEntry |
getRootDSE(GetRootDSEOperationContext getRootDSEContext)
Get's the RootDSE entry for the DSA.
|
org.apache.directory.shared.ldap.name.DN |
getSuffix(GetSuffixOperationContext getSuffixContext)
Gets the distinguished name of the suffix that would hold an entry with
the supplied distinguished name parameter.
|
Partition |
getSystemPartition() |
Set<String> |
listSuffixes(ListSuffixOperationContext emptyContext)
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(RemoveContextPartitionOperationContext removeContextPartition)
Remove a partition from the server.
|
add, bind, delete, destroy, getId, getSchemaManager, getSuffix, getSuffixDn, hasEntry, initialize, isInitialized, list, lookup, modify, move, moveAndRename, rename, search, setId, setSchemaManager, setSuffix, sync, unbind
static final String ADMIN_UID
static final String ADMIN_PASSWORD_STRING
static final byte[] ADMIN_PASSWORD_BYTES
ClonedServerEntry getRootDSE(GetRootDSEOperationContext getRootDSEContext)
void addContextPartition(AddContextPartitionOperationContext opContext) throws Exception
opContext
- The Add Partition contextException
- If the addition can't be donevoid removeContextPartition(RemoveContextPartitionOperationContext removeContextPartition) throws Exception
opContext
- The Remove Partition contextException
- If the removal can't be donePartition getSystemPartition()
Partition getPartition(org.apache.directory.shared.ldap.name.DN dn) throws Exception
dn
- the normalized distinguished name to get a partition forException
- if there is no partition for the dnorg.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext matchedNameContext) throws Exception
getMatchedNameContext
- the context containing the distinguished name
to use for matching.Exception
- if there are any problemsorg.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext getSuffixContext) throws Exception
suffixContext
- the Context containing normalized distinguished
name to use for finding a suffix.Exception
- if there are any problemsSet<String> listSuffixes(ListSuffixOperationContext emptyContext) throws Exception
DefaultPartitionNexus
.Exception
- if there are any problemsvoid registerSupportedExtensions(Set<String> extensionOids) throws Exception
extensionOids
- a set of OID strings to add to the supportedExtension
attribute in the RootDSEException
void registerSupportedSaslMechanisms(Set<String> supportedSaslMechanisms) throws Exception
extensionOids
- a set of OID strings to add to the supportedSaslMechanisms
attribute in the RootDSEException
boolean compare(CompareOperationContext opContext) throws Exception
Exception
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.