public class LDAPDirectory extends AbstractDirectory
Modifier and Type | Field and Description |
---|---|
static String |
DN_SPECIAL_ATTRIBUTE_KEY |
Constructor and Description |
---|
LDAPDirectory(LDAPDirectoryDescriptor config) |
Modifier and Type | Method and Description |
---|---|
void |
addSession(Session session) |
String |
getBaseFilter() |
LDAPDirectoryDescriptor |
getConfig() |
Properties |
getContextProperties() |
String |
getIdField()
Gets the id field of the schema for this directory.
|
String |
getName()
Gets the unique name of the directory, used for registering.
|
String |
getParentDirectory()
Gets the name of the parent directory.
|
String |
getPasswordField()
Gets the password field of the schema for this directory.
|
String |
getSchema()
Gets the schema name used by this directory.
|
Map<String,Field> |
getSchemaFieldMap() |
SearchControls |
getSearchControls() |
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.
|
addReference, addReferences, getCache, getFieldMapper, getReference, getReferences, invalidateCaches, invalidateDirectoryCache, isReference, orderEntries
public static final String DN_SPECIAL_ATTRIBUTE_KEY
public LDAPDirectory(LDAPDirectoryDescriptor config) throws ClientException
ClientException
public Properties getContextProperties()
public SearchControls getSearchControls()
public SearchControls getSearchControls(boolean fetchAllAttributes)
public String getName()
Directory
public String getSchema()
Directory
public String getParentDirectory()
Directory
public String getIdField()
Directory
public 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 String getBaseFilter()
public LDAPDirectoryDescriptor getConfig()
public void setTestServer(ContextProvider testServer)
Copyright © 2011 Nuxeo SA. All Rights Reserved.