public class RecoveryModeAwareApplicationService extends ApplicationServiceGeneric
ApplicationServiceGeneric that supports recovery mode. When recovery mode is activated,
an extra directory as provided by the RecoveryModeService will
be prepended to the list of directories for any application.| Constructor and Description |
|---|
RecoveryModeAwareApplicationService(DirectoryManager directoryManager,
SearchStrategyFactory searchStrategyFactory,
PermissionManager permissionManager,
com.atlassian.event.api.EventPublisher eventPublisher,
EventStore eventStore,
WebhookRegistry webhookRegistry,
AvatarProvider avatarProvider,
ApplicationFactory applicationFactory,
RecoveryModeService recoveryModeService) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Directory> |
getActiveDirectories(Application application)
Given an
application, retrieve all active directories associated with it. |
boolean |
isUserAuthorised(Application application,
String username) |
addAllUsers, addGroup, addGroupToGroup, addUser, addUser, addUserToGroup, authenticateUser, expireAllPasswords, findGroupByName, findGroupWithAttributesByName, findRemoteUserByName, findUserByKey, findUserByName, findUserWithAttributesByKey, findUserWithAttributesByName, findWebhookById, getCapabilitiesForNewUsers, getCurrentEventToken, getNewEvents, getUserAvatar, getUserAvatarLink, isGroupDirectGroupMember, isGroupNestedGroupMember, isUserAuthorised, isUserDirectGroupMember, isUserNestedGroupMember, registerWebhook, removeGroup, removeGroupAttributes, removeGroupFromGroup, removeUser, removeUserAttributes, removeUserFromGroup, renameUser, searchDirectGroupRelationships, searchGroups, searchNestedGroupRelationships, searchUsers, storeGroupAttributes, storeUserAttributes, unregisterWebhook, updateGroup, updateUser, updateUserCredential, userAuthenticatedpublic RecoveryModeAwareApplicationService(DirectoryManager directoryManager, SearchStrategyFactory searchStrategyFactory, PermissionManager permissionManager, com.atlassian.event.api.EventPublisher eventPublisher, EventStore eventStore, WebhookRegistry webhookRegistry, AvatarProvider avatarProvider, ApplicationFactory applicationFactory, RecoveryModeService recoveryModeService)
protected List<Directory> getActiveDirectories(Application application)
ApplicationServiceGenericapplication, retrieve all active directories associated with it.getActiveDirectories in class ApplicationServiceGenericapplication - application to queryapplicationpublic boolean isUserAuthorised(Application application, String username)
isUserAuthorised in interface ApplicationServiceisUserAuthorised in class ApplicationServiceGenericCopyright © 2018 Atlassian. All rights reserved.