|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionNexus
A root 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.
Field Summary | |
---|---|
static byte[] |
ADMIN_PASSWORD_BYTES
|
static java.lang.String |
ADMIN_PASSWORD_STRING
the initial admin passwd set on startup |
static java.lang.String |
ADMIN_UID
the admin super user uid |
Method Summary | |
---|---|
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()
|
java.util.Set<java.lang.String> |
listSuffixes(ListSuffixOperationContext emptyContext)
Gets an iteration over the Name suffixes of the partitions managed by this DefaultPartitionNexus . |
void |
registerSupportedExtensions(java.util.Set<java.lang.String> extensionOids)
Adds a set of supportedExtension (OID Strings) to the RootDSE. |
void |
registerSupportedSaslMechanisms(java.util.Set<java.lang.String> supportedSaslMechanisms)
Adds a set of supportedSaslMechanisms (OID Strings) to the RootDSE. |
void |
removeContextPartition(RemoveContextPartitionOperationContext removeContextPartition)
Remove a partition from the server. |
Methods inherited from interface org.apache.directory.server.core.partition.Partition |
---|
add, bind, delete, destroy, getId, getSchemaManager, getSuffix, getSuffixDn, hasEntry, initialize, isInitialized, list, lookup, modify, move, moveAndRename, rename, search, setId, setSchemaManager, setSuffix, sync, unbind |
Field Detail |
---|
static final java.lang.String ADMIN_UID
static final java.lang.String ADMIN_PASSWORD_STRING
static final byte[] ADMIN_PASSWORD_BYTES
Method Detail |
---|
ClonedServerEntry getRootDSE(GetRootDSEOperationContext getRootDSEContext)
void addContextPartition(AddContextPartitionOperationContext opContext) throws java.lang.Exception
opContext
- The Add Partition context
java.lang.Exception
- If the addition can't be donevoid removeContextPartition(RemoveContextPartitionOperationContext removeContextPartition) throws java.lang.Exception
opContext
- The Remove Partition context
java.lang.Exception
- If the removal can't be donePartition getSystemPartition()
Partition getPartition(org.apache.directory.shared.ldap.name.DN dn) throws java.lang.Exception
dn
- the normalized distinguished name to get a partition for
java.lang.Exception
- if there is no partition for the dnorg.apache.directory.shared.ldap.name.DN getMatchedName(GetMatchedNameOperationContext matchedNameContext) throws java.lang.Exception
getMatchedNameContext
- the context containing the distinguished name
to use for matching.
java.lang.Exception
- if there are any problemsorg.apache.directory.shared.ldap.name.DN getSuffix(GetSuffixOperationContext getSuffixContext) throws java.lang.Exception
suffixContext
- the Context containing normalized distinguished
name to use for finding a suffix.
java.lang.Exception
- if there are any problemsjava.util.Set<java.lang.String> listSuffixes(ListSuffixOperationContext emptyContext) throws java.lang.Exception
DefaultPartitionNexus
.
java.lang.Exception
- if there are any problemsvoid registerSupportedExtensions(java.util.Set<java.lang.String> extensionOids) throws java.lang.Exception
extensionOids
- a set of OID strings to add to the supportedExtension
attribute in the RootDSE
java.lang.Exception
void registerSupportedSaslMechanisms(java.util.Set<java.lang.String> supportedSaslMechanisms) throws java.lang.Exception
extensionOids
- a set of OID strings to add to the supportedSaslMechanisms
attribute in the RootDSE
java.lang.Exception
boolean compare(CompareOperationContext opContext) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |