|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.directory.AbstractDirectory org.nuxeo.ecm.directory.ldap.LDAPDirectory
public class LDAPDirectory
Implementation of the Directory interface for servers implementing the Lightweight Directory Access Protocol.
Field Summary | |
---|---|
static java.lang.String |
DN_SPECIAL_ATTRIBUTE_KEY
|
Constructor Summary | |
---|---|
LDAPDirectory(LDAPDirectoryDescriptor config)
|
Method Summary | |
---|---|
void |
addSession(Session session)
|
java.lang.String |
getBaseFilter()
|
LDAPDirectoryDescriptor |
getConfig()
|
java.util.Properties |
getContextProperties()
|
java.lang.String |
getIdField()
Gets the id field of the schema for this directory. |
IdGenerator |
getIdGenerator()
Gets the ID generator used when creating new entries in this directory. |
java.lang.String |
getName()
Gets the unique name of the directory, used for registering. |
java.lang.String |
getParentDirectory()
Gets the name of the parent directory. |
java.lang.String |
getPasswordField()
Gets the password field of the schema for this directory. |
java.lang.String |
getSchema()
Gets the schema name used by this directory. |
java.util.Map<java.lang.String,Field> |
getSchemaFieldMap()
|
javax.naming.directory.SearchControls |
getSearchControls()
|
javax.naming.directory.SearchControls |
getSearchControls(boolean fetchAllAttributes)
|
Session |
getSession()
Creates a session for accessing entries in this directory. |
void |
removeSession(Session session)
|
void |
setTestServer(ContextProvider testServer)
|
void |
shutdown()
Shuts down the directory. |
Methods inherited from class org.nuxeo.ecm.directory.AbstractDirectory |
---|
addReference, addReferences, getCache, getFieldMapper, getReference, getReferences, invalidateCaches, invalidateDirectoryCache, isReference, orderEntries |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DN_SPECIAL_ATTRIBUTE_KEY
Constructor Detail |
---|
public LDAPDirectory(LDAPDirectoryDescriptor config) throws ClientException
ClientException
Method Detail |
---|
public java.util.Properties getContextProperties()
public javax.naming.directory.SearchControls getSearchControls()
public javax.naming.directory.SearchControls getSearchControls(boolean fetchAllAttributes)
public IdGenerator getIdGenerator()
Directory
public java.lang.String getName()
Directory
public java.lang.String getSchema()
Directory
public java.lang.String getParentDirectory()
Directory
public java.lang.String getIdField()
Directory
public java.lang.String getPasswordField()
Directory
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdpublic void removeSession(Session session)
public void addSession(Session session)
public void shutdown()
Directory
public java.lang.String getBaseFilter()
public LDAPDirectoryDescriptor getConfig()
public java.util.Map<java.lang.String,Field> getSchemaFieldMap()
public void setTestServer(ContextProvider testServer)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |