Package org.nuxeo.ecm.directory.ldap
Class LDAPDirectoryDescriptor
java.lang.Object
org.nuxeo.ecm.directory.BaseDirectoryDescriptor
org.nuxeo.ecm.directory.ldap.LDAPDirectoryDescriptor
- All Implemented Interfaces:
Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
-
Field Summary
Modifier and TypeFieldDescriptionString[]
static final String
static final boolean
static final String
static final String
static final int
static final int
static final String
static final int
protected EntryAdaptor
protected LdapExceptionProcessor
protected Class<? extends LdapExceptionProcessor>
protected Boolean
Since 5.9.4Since 5.4.2: force id case to upper or lower, or leaver it unchanged.String[]
Fields inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, computeMultiTenantId, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, DATA_LOADING_POLICIES, DATA_LOADING_POLICY_LEGACY, DATA_LOADING_POLICY_NEVER_LOAD, DATA_LOADING_POLICY_REJECT_DUPLICATE, DATA_LOADING_POLICY_SKIP_DUPLICATE, DATA_LOADING_POLICY_UPDATE_DUPLICATE, dataFileCharacterSeparator, dataFileName, dataLoadingPolicy, DEFAULT_DATA_FILE_CHARACTER_SEPARATOR, extendz, idField, name, negativeCaching, parentDirectory, passwordField, passwordHashAlgorithm, permissions, READ_ONLY_DEFAULT, readOnly, remove, schemaName, SUBSTRING_MATCH_TYPE_DEFAULT, substringMatchType, tableName, template, types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Sub-classes MUST OVERRIDE and use a more specific return type.String[]
boolean
int
int
String[]
int
void
merge
(BaseDirectoryDescriptor other) protected void
merge
(LDAPDirectoryDescriptor other) Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.void
setEmptyRefMarker
(String emptyRefMarker) void
setEntryAdaptor
(LDAPDirectoryDescriptor.EntryAdaptorDescriptor adaptorDescriptor) void
setFieldMapping
(Map<String, String> fieldMapping) void
setQuerySizeLimit
(int querySizeLimit) void
setQueryTimeLimit
(int queryTimeLimit) void
setSearchClasses
(String[] searchClasses) void
setSearchFilter
(String searchFilter) void
setSearchScope
(String searchScope) Methods inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
checkDataLoadingPolicy, getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDataLoadingPolicy, getDeleteConstraints, getInverseReferences, getReferences, getSubstringMatchType, isAutoincrementIdField, isComputeMultiTenantId, isReadOnly, setAutoincrementIdField, setReadOnly
-
Field Details
-
DEFAULT_SEARCH_SCOPE
public static final int DEFAULT_SEARCH_SCOPE- See Also:
-
DEFAULT_SEARCH_CLASSES_FILTER
- See Also:
-
DEFAULT_EMPTY_REF_MARKER
- See Also:
-
DEFAULT_MISSING_ID_FIELD_CASE
- See Also:
-
DEFAULT_ID_CASE
- See Also:
-
DEFAULT_QUERY_SIZE_LIMIT
public static final int DEFAULT_QUERY_SIZE_LIMIT- See Also:
-
DEFAULT_QUERY_TIME_LIMIT
public static final int DEFAULT_QUERY_TIME_LIMIT- See Also:
-
DEFAULT_FOLLOW_REFERRALS
public static final boolean DEFAULT_FOLLOW_REFERRALS- See Also:
-
serverName
-
searchBaseDn
-
fieldMapping
-
searchClasses
-
searchClassesFilter
-
searchFilter
-
searchScope
-
creationBaseDn
-
creationClasses
-
rdnAttribute
-
emptyRefMarker
-
missingIdFieldCase
-
idCase
Since 5.4.2: force id case to upper or lower, or leaver it unchanged. -
followReferrals
Since 5.9.4 -
entryAdaptor
-
exceptionProcessorClass
- Since:
- 5.7 : allow to contribute custom Exception Handler to extract LDAP validation error messages
-
exceptionProcessor
-
-
Constructor Details
-
LDAPDirectoryDescriptor
public LDAPDirectoryDescriptor()
-
-
Method Details
-
getMissingIdFieldCase
-
getFollowReferrals
public boolean getFollowReferrals() -
setEntryAdaptor
public void setEntryAdaptor(LDAPDirectoryDescriptor.EntryAdaptorDescriptor adaptorDescriptor) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
getRdnAttribute
-
getCreationBaseDn
-
getCreationClasses
-
getIdCase
-
getSearchBaseDn
-
setSearchClasses
-
getSearchClasses
-
setSearchFilter
-
getSearchFilter
-
setSearchScope
-
getSearchScope
public int getSearchScope() -
getServerName
-
getAggregatedSearchFilter
-
getFieldMapping
-
setFieldMapping
-
getLdapReferences
-
getEmptyRefMarker
-
setEmptyRefMarker
-
getQuerySizeLimit
public int getQuerySizeLimit() -
setQuerySizeLimit
public void setQuerySizeLimit(int querySizeLimit) -
setQueryTimeLimit
public void setQueryTimeLimit(int queryTimeLimit) -
getQueryTimeLimit
public int getQueryTimeLimit() -
getEntryAdaptor
-
getExceptionProcessor
-
merge
- Overrides:
merge
in classBaseDirectoryDescriptor
-
merge
-
clone
Description copied from class:BaseDirectoryDescriptor
Sub-classes MUST OVERRIDE and use a more specific return type.Usually it's bad to use clone(), and a copy-constructor is preferred, but here we want the copy method to be inheritable so clone() is appropriate.
- Overrides:
clone
in classBaseDirectoryDescriptor
-
newDirectory
Description copied from class:BaseDirectoryDescriptor
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.- Overrides:
newDirectory
in classBaseDirectoryDescriptor
-