public interface ExternalUserRepository extends Orderable
| Modifier and Type | Method and Description |
|---|---|
ExternalSystemConfiguration |
createConfiguration()
Create an empty configuration.
|
ExternalSystemConfiguration |
getConfiguration()
Gets the external system configuration
|
Collection<StringPropertyTO> |
getExternalLoginProperties(Long userId,
ExternalUserAuthentication externalUserAuthentication)
External Repos can return additional properties that will be included e.g.
|
String |
getExternalSystemId()
Get the external system identifier.
|
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 the
ExternalUserVO of the external user identifier |
ExternalUserVO |
getUser(UserIdentification userIdentification)
Get the
ExternalUserVO for the UserIdentification. |
boolean |
isActive()
Check if external repo is active and can be used
|
boolean |
isIncrementalSynchronizationAvailable() |
boolean |
showInIntegrationOverview() |
ExternalSystemConfiguration createConfiguration()
ExternalSystemConfiguration getConfiguration()
Collection<StringPropertyTO> getExternalLoginProperties(Long userId, ExternalUserAuthentication externalUserAuthentication) throws AuthorizationException
userId - the id of the user the authentication is forexternalUserAuthentication - the authentication to get additional properties forAuthorizationExceptionString getExternalSystemId()
ExternalUserGroupAccessor getExternalUserGroupAccessor()
IncrementalRepositoryChangeTracker getIncrementalRepositoryChangeTracker(boolean doFullSynchronization)
doFullSynchronization - If set to true, a full synchronization should be done.LocalizedMessage getName()
Set<UserProfileFields> getProvidedProfileFieldNames()
ExternalUserVO getUser(String externalUserId) throws ExternalRepositoryException
ExternalUserVO of the external user identifierexternalUserId - external user identifierExternalUserVOExternalRepositoryException - repository exceptionExternalUserVO getUser(UserIdentification userIdentification) throws ExternalRepositoryException
ExternalUserVO for the UserIdentification. The
UserIdentification provides information about internal id, external id and so on. The
external user repo implementation of this method must considered the following:userIdentification - UserIdentificationExternalUserVOExternalRepositoryException - repository exceptionboolean isActive()
boolean isIncrementalSynchronizationAvailable()
boolean showInIntegrationOverview()
Copyright © 2019 Communote team. All rights reserved.