public class GroupRetriever extends Retriever<ExternalUserGroup> implements PropertyKeys
USN_ATTRIBUTE_KEYPROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_ALLOW_PAGING, PROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_ENABLED_GROUP, PROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_ENABLED_USER, PROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_PAGING_SIZE, PROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_TIME_OUT, PROPERTY_KEY_ACTIVE_DIRECTORY_TRACKING_USER_SEQUENCE_NUMBER| Constructor and Description |
|---|
GroupRetriever(LdapConfiguration ldapConfiguration,
org.springframework.ldap.core.LdapTemplate ldapTemplate,
long internalHighestCommittedUSN,
long externalHighestCommittedUSN,
int pagingSize,
int timeout,
boolean isPagingAllowed)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.ldap.core.ContextMapper |
getContextMapper()
Method to return a context mapper for mapping ldap results to the concrete result.
|
protected List<LdapSearchBaseDefinition> |
getSearchBaseDefinitions()
Method to get the search base definitions.
|
protected String |
getSearchFilter()
Method to get the search filter for entities within the repository
|
void |
setExternalUserGroupDao(ExternalUserGroupDao externalUserGroupDao)
Method to set the dao.
|
void |
setUserGroupManagement(UserGroupManagement userGroupManagement) |
getNextEntitiesaccept, getCollectingNameClassPairCallbackHandler, getSearchControlpublic GroupRetriever(LdapConfiguration ldapConfiguration, org.springframework.ldap.core.LdapTemplate ldapTemplate, long internalHighestCommittedUSN, long externalHighestCommittedUSN, int pagingSize, int timeout, boolean isPagingAllowed)
ldapConfiguration - The LDAP configuration to use.ldapTemplate - The template for LDAP.internalHighestCommittedUSN - The usn to use.externalHighestCommittedUSN - The usn from the external system.pagingSize - The maximal size of requested pages.timeout - The timeout for connections.isPagingAllowed - True, if paging is allowed.protected org.springframework.ldap.core.ContextMapper getContextMapper()
getContextMapper in class VisitingRetriever<ExternalUserGroup>protected List<LdapSearchBaseDefinition> getSearchBaseDefinitions()
getSearchBaseDefinitions in class VisitingRetriever<ExternalUserGroup>protected String getSearchFilter()
getSearchFilter in class VisitingRetriever<ExternalUserGroup>public void setExternalUserGroupDao(ExternalUserGroupDao externalUserGroupDao)
externalUserGroupDao - Dao.public void setUserGroupManagement(UserGroupManagement userGroupManagement)
userGroupManagement - the userGroupManagement to setCopyright © 2019 Communote team. All rights reserved.