public class LDAPDirectory extends AbstractDirectory
| Modifier and Type | Class and Description |
|---|---|
static class |
LDAPDirectory.TrustingSSLSocketFactory
SSLSocketFactory implementation that verifies all certificates.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DN_SPECIAL_ATTRIBUTE_KEY |
name| Constructor and Description |
|---|
LDAPDirectory(LDAPDirectoryDescriptor config) |
| Modifier and Type | Method and Description |
|---|---|
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 |
getPasswordHashAlgorithmField()
Get the value of the field passwordHashAlgorithm
|
Reference |
getReference(String referenceFieldName)
Lookup a Reference by field name.
|
String |
getSchema()
Gets the schema name used by this directory.
|
Map<String,Field> |
getSchemaFieldMap() |
SearchControls |
getSearchControls() |
SearchControls |
getSearchControls(boolean fetchAllAttributes) |
LDAPServerDescriptor |
getServer() |
Session |
getSession()
Creates a session for accessing entries in this directory.
|
void |
setTestServer(ContextProvider testServer) |
addReference, addReferences, addSession, getCache, getFieldMapper, getReferences, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReference, orderEntries, removeSession, shutdownpublic static final String DN_SPECIAL_ATTRIBUTE_KEY
public LDAPDirectory(LDAPDirectoryDescriptor config) throws ClientException
ClientExceptionpublic Reference getReference(String referenceFieldName)
DirectorygetReference in interface DirectorygetReference in class AbstractDirectorypublic Properties getContextProperties()
public SearchControls getSearchControls()
public SearchControls getSearchControls(boolean fetchAllAttributes)
public String getName()
Directorypublic String getSchema()
Directorypublic String getParentDirectory()
Directorypublic String getIdField()
Directorypublic String getPasswordField()
Directorypublic LDAPServerDescriptor getServer()
public Session getSession() throws DirectoryException
DirectoryDirectoryException - if a session cannot be createdpublic String getBaseFilter()
public LDAPDirectoryDescriptor getConfig()
public String getPasswordHashAlgorithmField()
public void setTestServer(ContextProvider testServer)
Copyright © 2015 Nuxeo SA. All rights reserved.