public class LDAPDirectoryDescriptor extends BaseDirectoryDescriptor
Modifier and Type | Class and Description |
---|---|
static class |
LDAPDirectoryDescriptor.EntryAdaptorDescriptor |
BaseDirectoryDescriptor.SubstringMatchType
Modifier and Type | Field and Description |
---|---|
String |
creationBaseDn |
String[] |
creationClasses |
static String |
DEFAULT_EMPTY_REF_MARKER |
static boolean |
DEFAULT_FOLLOW_REFERRALS |
static String |
DEFAULT_ID_CASE |
static String |
DEFAULT_MISSING_ID_FIELD_CASE |
static int |
DEFAULT_QUERY_SIZE_LIMIT |
static int |
DEFAULT_QUERY_TIME_LIMIT |
static String |
DEFAULT_SEARCH_CLASSES_FILTER |
static int |
DEFAULT_SEARCH_SCOPE |
String |
emptyRefMarker |
protected EntryAdaptor |
entryAdaptor |
protected LdapExceptionProcessor |
exceptionProcessor |
protected Class<? extends LdapExceptionProcessor> |
exceptionProcessorClass |
Map<String,String> |
fieldMapping |
protected Boolean |
followReferrals
Since 5.9.4
|
String |
idCase
Since 5.4.2: force id case to upper or lower, or leaver it unchanged.
|
static org.apache.commons.logging.Log |
log |
String |
missingIdFieldCase |
String |
rdnAttribute |
String |
searchBaseDn |
String[] |
searchClasses |
String |
searchClassesFilter |
String |
searchFilter |
Integer |
searchScope |
String |
serverName |
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, dataFileCharacterSeparator, dataFileName, 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 and Description |
---|
LDAPDirectoryDescriptor() |
getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDeleteConstraints, getSubstringMatchType, isAutoincrementIdField, isReadOnly, setAutoincrementIdField, setReadOnly
public static final org.apache.commons.logging.Log log
public static final int DEFAULT_SEARCH_SCOPE
public static final String DEFAULT_SEARCH_CLASSES_FILTER
public static final String DEFAULT_EMPTY_REF_MARKER
public static final String DEFAULT_MISSING_ID_FIELD_CASE
public static final String DEFAULT_ID_CASE
public static final int DEFAULT_QUERY_SIZE_LIMIT
public static final int DEFAULT_QUERY_TIME_LIMIT
public static final boolean DEFAULT_FOLLOW_REFERRALS
public String serverName
public String searchBaseDn
public Map<String,String> fieldMapping
public String[] searchClasses
public String searchClassesFilter
public String searchFilter
public Integer searchScope
public String creationBaseDn
public String[] creationClasses
public String rdnAttribute
public String emptyRefMarker
public String missingIdFieldCase
protected Boolean followReferrals
protected EntryAdaptor entryAdaptor
protected Class<? extends LdapExceptionProcessor> exceptionProcessorClass
protected LdapExceptionProcessor exceptionProcessor
public LDAPDirectoryDescriptor()
public String getMissingIdFieldCase()
public boolean getFollowReferrals()
public void setEntryAdaptor(LDAPDirectoryDescriptor.EntryAdaptorDescriptor adaptorDescriptor) throws InstantiationException, IllegalAccessException
public String getRdnAttribute()
public String getCreationBaseDn()
public String[] getCreationClasses()
public String getSearchBaseDn()
public void setSearchClasses(String[] searchClasses)
public String[] getSearchClasses()
public void setSearchFilter(String searchFilter)
public String getSearchFilter()
public void setSearchScope(String searchScope) throws DirectoryException
DirectoryException
public int getSearchScope()
public String getServerName()
public String getAggregatedSearchFilter()
public Map<String,String> getFieldMapping()
public void setFieldMapping(Map<String,String> fieldMapping)
public Reference[] getInverseReferences()
public Reference[] getLdapReferences()
public String getEmptyRefMarker()
public void setEmptyRefMarker(String emptyRefMarker)
public int getQuerySizeLimit()
public void setQuerySizeLimit(int querySizeLimit)
public void setQueryTimeLimit(int queryTimeLimit)
public int getQueryTimeLimit()
public EntryAdaptor getEntryAdaptor()
public LdapExceptionProcessor getExceptionProcessor()
public void merge(BaseDirectoryDescriptor other)
merge
in class BaseDirectoryDescriptor
protected void merge(LDAPDirectoryDescriptor other)
public LDAPDirectoryDescriptor clone()
BaseDirectoryDescriptor
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.
clone
in class BaseDirectoryDescriptor
public LDAPDirectory newDirectory()
BaseDirectoryDescriptor
Directory
instance from this {@link DirectoryDescriptor).newDirectory
in class BaseDirectoryDescriptor
Copyright © 2016 Nuxeo SA. All rights reserved.