public class ConfluenceUserRepository extends AbstractExternalUserRepository
Modifier and Type | Field and Description |
---|---|
static String |
EXTERNAL_SYSTEM_ID_DEFAULT_CONFLUENCE
Define constant here, once this is a plugin.
|
Constructor and Description |
---|
ConfluenceUserRepository()
Default constructor setting the default system id
|
Modifier and Type | Method and Description |
---|---|
ConfluenceConfiguration |
createConfiguration()
Create an empty configuration.
|
ConfluenceConfiguration |
getConfiguration()
Get the confluence configuration of the client
|
Collection<StringPropertyTO> |
getExternalLoginProperties(Long userId,
ExternalUserAuthentication externalUserAuthentication)
External Repos can return additional properties that will be included e.g.
|
LocalizedMessage |
getName() |
Set<UserProfileFields> |
getProvidedProfileFieldNames() |
ExternalUserVO |
getUser(String externalUserId)
Get the
ExternalUserVO of the external user identifier |
getExternalSystemId, getExternalUserGroupAccessor, getIncrementalRepositoryChangeTracker, getOrder, getUser, isActive, isConfigurationSet, isIncrementalSynchronizationAvailable, showInIntegrationOverview
public static final String EXTERNAL_SYSTEM_ID_DEFAULT_CONFLUENCE
public ConfluenceUserRepository()
public ConfluenceConfiguration createConfiguration()
public ConfluenceConfiguration getConfiguration()
ConfluenceConfiguration
public Collection<StringPropertyTO> getExternalLoginProperties(Long userId, ExternalUserAuthentication externalUserAuthentication)
ExternalUserRepository
userId
- the id of the user the authentication is forexternalUserAuthentication
- the authentication to get additional properties forpublic LocalizedMessage getName()
public Set<UserProfileFields> getProvidedProfileFieldNames()
public ExternalUserVO getUser(String externalUserId) throws ExternalRepositoryException
ExternalUserVO
of the external user identifierexternalUserId
- external user identifierExternalUserVO
ExternalRepositoryException
- repository exceptionCopyright © 2019 Communote team. All rights reserved.