|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.partition.PartitionNexus
public abstract class 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 |
Fields inherited from interface org.apache.directory.server.core.partition.Partition |
---|
DEFAULT_CACHE_SIZE, DEFAULT_PARTITION_IMPLEMENTATION, SYSTEM_PARTITION_NAME |
Constructor Summary | |
---|---|
PartitionNexus()
|
Method Summary | |
---|---|
abstract void |
addContextPartition(AddContextPartitionOperationContext opContext)
|
abstract boolean |
compare(CompareOperationContext compareContext)
Performs a comparison check to see if an attribute of an entry has a specified value. |
static org.apache.directory.shared.ldap.name.LdapDN |
getAdminName()
Gets the DN for the admin user. |
static org.apache.directory.shared.ldap.name.LdapDN |
getGroupsBaseName()
Gets the DN for the base entry under which all groups reside. |
abstract javax.naming.ldap.LdapContext |
getLdapContext()
Gets the LdapContext associated with the calling thread. |
abstract org.apache.directory.shared.ldap.name.LdapDN |
getMatchedName(GetMatchedNameOperationContext getMatchedNameContext)
Gets the most significant Dn that exists within the server for any Dn. |
abstract Partition |
getPartition(org.apache.directory.shared.ldap.name.LdapDN dn)
Get's the partition corresponding to a distinguished name. |
abstract ClonedServerEntry |
getRootDSE(GetRootDSEOperationContext opContext)
Get's the RootDSE entry for the DSA. |
abstract org.apache.directory.shared.ldap.name.LdapDN |
getSuffix(GetSuffixOperationContext suffixContext)
Gets the distinguished name of the suffix that would hold an entry with the supplied distinguished name parameter. |
abstract Partition |
getSystemPartition()
|
static org.apache.directory.shared.ldap.name.LdapDN |
getUsersBaseName()
Gets the DN for the base entry under which all non-admin users reside. |
abstract java.util.Iterator<java.lang.String> |
listSuffixes(ListSuffixOperationContext opContext)
Gets an iteration over the Name suffixes of the partitions managed by this PartitionNexus . |
abstract void |
registerSupportedExtensions(java.util.Set<java.lang.String> extensionOids)
Adds a set of supportedExtension (OID Strings) to the RootDSE. |
abstract void |
registerSupportedSaslMechanisms(java.util.Set<java.lang.String> strings)
|
abstract void |
removeContextPartition(RemoveContextPartitionOperationContext opContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.directory.server.core.partition.Partition |
---|
add, bind, delete, destroy, getCacheSize, getId, getSuffix, getSuffixDn, getUpSuffixDn, hasEntry, init, isInitialized, list, lookup, lookup, modify, move, moveAndRename, rename, search, setCacheSize, setId, setSuffix, sync, unbind |
Field Detail |
---|
public static final java.lang.String ADMIN_UID
public static final java.lang.String ADMIN_PASSWORD_STRING
public static final byte[] ADMIN_PASSWORD_BYTES
Constructor Detail |
---|
public PartitionNexus()
Method Detail |
---|
public static final org.apache.directory.shared.ldap.name.LdapDN getAdminName()
public static final org.apache.directory.shared.ldap.name.LdapDN getGroupsBaseName()
public static final org.apache.directory.shared.ldap.name.LdapDN getUsersBaseName()
public abstract javax.naming.ldap.LdapContext getLdapContext()
public abstract ClonedServerEntry getRootDSE(GetRootDSEOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public abstract boolean compare(CompareOperationContext compareContext) throws java.lang.Exception
compareContext
- the context used to compare
java.lang.Exception
- if there is a problem accessing the entry and its values
java.lang.Exception
public abstract void addContextPartition(AddContextPartitionOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public abstract void removeContextPartition(RemoveContextPartitionOperationContext opContext) throws java.lang.Exception
java.lang.Exception
public abstract Partition getSystemPartition()
public abstract Partition getPartition(org.apache.directory.shared.ldap.name.LdapDN 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 dnpublic abstract org.apache.directory.shared.ldap.name.LdapDN getMatchedName(GetMatchedNameOperationContext getMatchedNameContext) throws java.lang.Exception
getMatchedNameContext
- the context containing the distinguished name
to use for matching.
java.lang.Exception
- if there are any problemspublic abstract org.apache.directory.shared.ldap.name.LdapDN getSuffix(GetSuffixOperationContext suffixContext) throws java.lang.Exception
suffixContext
- the Context containing normalized distinguished
name to use for finding a suffix.
java.lang.Exception
- if there are any problemspublic abstract java.util.Iterator<java.lang.String> listSuffixes(ListSuffixOperationContext opContext) throws java.lang.Exception
PartitionNexus
.
java.lang.Exception
- if there are any problemspublic abstract void 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
public abstract void registerSupportedSaslMechanisms(java.util.Set<java.lang.String> strings) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |