public class LDAPSynchronizableContentsCollection extends AbstractDataSourceSynchronizableContentsCollection implements Component, Initializable
SynchronizableContentsCollection to be synchronized with a LDAP data source| Modifier and Type | Field and Description |
|---|---|
private static int |
__DEFAULT_PAGE_SIZE |
private static String |
__PARAM_LDAP_FILTER |
private static String |
__PARAM_LDAP_RELATIVE_DN |
private static String |
__PARAM_LDAP_SCOPE |
protected String |
_ldapAdminPassword
Password associated with the admin.
|
protected String |
_ldapAdminRelativeDN
Distinguished name of the admin used for searching.
|
protected String |
_ldapAliasDerefMode
Alias dereferencing mode.
|
protected String |
_ldapAuthenticationMethod
Authentication method used.
|
protected String |
_ldapBaseDN
Base DN to the ldap server.
|
protected boolean |
_ldapFollowReferrals
Enable following referrals.
|
protected LDAPCollectionHelper |
_ldapHelper
The helper for LDAP connection
|
protected String |
_ldapUrl
URL connection to the ldap server.
|
protected boolean |
_ldapUseSSL
Use ssl for connecting to ldap server.
|
protected int |
_pageSize
The page size
|
protected boolean |
_pagingSupported
Indicates if the LDAP server supports paging feature.
|
protected boolean |
_pagingSupportedInitialized
Indicates if the testing of the LDAP server paging feature has already been made.
|
__PARAM_DATASOURCE_ID, __PARAM_FIELD_ID, __PARAM_MAPPING, __PARAM_MAPPING_ATTRIBUTE, __PARAM_MAPPING_METADATA_REF, __PARAM_MAPPING_SYNCHRO, _jsonUtils_contentDAO, _contentPrefix, _contentType, _contentTypeEP, _contentTypesHelper, _currentUserProvider, _hasGlobalError, _i18nUtils, _id, _initialActionId, _label, _languagesManager, _modelId, _modelParamValues, _nbError, _observationManager, _removalSync, _reportMails, _resolver, _restrictedField, _synchronizingContentOperator, _synchronizingContentOperatorEP, _validateActionId, _validateAfterImport, _workflowName, _workflowProviderCOLLECTION_ID_PROPERTY| Constructor and Description |
|---|
LDAPSynchronizableContentsCollection() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_internalPopulate(Logger logger)
Internal implementation of
AbstractSynchronizableContentsCollection.populate(Logger) |
void |
configure(Configuration configuration) |
protected String |
getFilter()
Get the LDAP filter
|
protected String |
getRelativeDN()
Get the LDAP relative DN
|
protected String |
getSearchScope()
Get the scope for LDAP search
|
void |
initialize() |
void |
service(ServiceManager serviceManager) |
getDataSourceId, getExternalOnlyFields, getIdField, getLocalAndExternalFields, getMapping_getContent, _getContentName, _getIdFieldValue, _handleContent, _isHandled, _parseParameters, applyChanges, createContentAction, deleteUnexistingContents, getContentPrefix, getContentType, getId, getInitialActionId, getLabel, getParameterValues, getReportMails, getRestrictedField, getSynchronizeCollectionModelId, getSynchronizingContentOperator, getValidateActionId, getWorkflowName, importContent, importContent, populate, removalSync, sendErrorMail, synchronizeContent, updateSCCProperty, validateAfterImport, validateContentprivate static final String __PARAM_LDAP_SCOPE
private static final String __PARAM_LDAP_RELATIVE_DN
private static final String __PARAM_LDAP_FILTER
private static final int __DEFAULT_PAGE_SIZE
protected String _ldapBaseDN
protected String _ldapAdminRelativeDN
protected String _ldapAdminPassword
protected String _ldapAuthenticationMethod
protected boolean _ldapUseSSL
protected boolean _ldapFollowReferrals
protected String _ldapAliasDerefMode
protected int _pageSize
protected boolean _pagingSupported
protected boolean _pagingSupportedInitialized
protected LDAPCollectionHelper _ldapHelper
public LDAPSynchronizableContentsCollection()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class AbstractDataSourceSynchronizableContentsCollectionServiceExceptionpublic void initialize() throws Exception
initialize in interface InitializableExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSynchronizableContentsCollectionConfigurationExceptionprotected void _internalPopulate(Logger logger)
AbstractSynchronizableContentsCollectionAbstractSynchronizableContentsCollection.populate(Logger)_internalPopulate in class AbstractSynchronizableContentsCollectionlogger - The loggerprotected String getSearchScope()
protected String getRelativeDN()