public class LdapUserRepository extends AbstractExternalUserRepository implements PropertyKeys
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTERNAL_SYSTEM_ID_DEFAULT_LDAP
Default Ldap it.
|
PROPERTY_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 |
|---|
LdapUserRepository(org.osgi.framework.BundleContext bundleContext)
Default constructor setting the default system id
|
| Modifier and Type | Method and Description |
|---|---|
LdapConfiguration |
createConfiguration()
Create an empty configuration.
|
LdapConfiguration |
getConfiguration()
Get the ldap configuration of the client
|
Collection<StringPropertyTO> |
getExternalLoginProperties(Long userId,
ExternalUserAuthentication externalUserAuthentication)
External Repos can return additional properties that will be included e.g.
|
ExternalUserGroupAccessor |
getExternalUserGroupAccessor()
Get the external user group accessor if user repository is also an group repository
|
IncrementalRepositoryChangeTracker |
getIncrementalRepositoryChangeTracker(boolean doFullSynchronization)
Method to get an tracker for changes within an external repository.
|
LocalizedMessage |
getName() |
Set<UserProfileFields> |
getProvidedProfileFieldNames() |
ExternalUserVO |
getUser(String externalUserId)
Get external user from ldap repository
|
boolean |
isIncrementalSynchronizationAvailable() |
void |
start() |
void |
stop() |
getExternalSystemId, getOrder, getUser, isActive, isConfigurationSet, showInIntegrationOverviewpublic static final String EXTERNAL_SYSTEM_ID_DEFAULT_LDAP
public LdapUserRepository(org.osgi.framework.BundleContext bundleContext)
public LdapConfiguration createConfiguration()
createConfiguration in interface ExternalUserRepositorypublic LdapConfiguration getConfiguration()
getConfiguration in interface ExternalUserRepositoryLdapConfigurationpublic Collection<StringPropertyTO> getExternalLoginProperties(Long userId, ExternalUserAuthentication externalUserAuthentication) throws AuthorizationException
ExternalUserRepositorygetExternalLoginProperties in interface ExternalUserRepositoryuserId - the id of the user the authentication is forexternalUserAuthentication - the authentication to get additional properties forAuthorizationExceptionpublic ExternalUserGroupAccessor getExternalUserGroupAccessor()
getExternalUserGroupAccessor in interface ExternalUserRepositorygetExternalUserGroupAccessor in class AbstractExternalUserRepositorypublic IncrementalRepositoryChangeTracker getIncrementalRepositoryChangeTracker(boolean doFullSynchronization)
getIncrementalRepositoryChangeTracker in interface ExternalUserRepositorygetIncrementalRepositoryChangeTracker in class AbstractExternalUserRepositorydoFullSynchronization - If set to true, a full synchronization should be done.public LocalizedMessage getName()
getName in interface ExternalUserRepositorypublic Set<UserProfileFields> getProvidedProfileFieldNames()
getProvidedProfileFieldNames in interface ExternalUserRepositorypublic ExternalUserVO getUser(String externalUserId) throws ExternalRepositoryException
getUser in interface ExternalUserRepositoryexternalUserId - external user identifier conform with the alias in ldapExternalUserVOExternalRepositoryException - external repository exceptionpublic boolean isIncrementalSynchronizationAvailable()
isIncrementalSynchronizationAvailable in interface ExternalUserRepositoryisIncrementalSynchronizationAvailable in class AbstractExternalUserRepositoryIncrementalRepositoryChangeTrackerFactory != nullpublic void start()
public void stop()
Copyright © 2019 Communote team. All rights reserved.