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.ApplicationService.MembershipsIterable| 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,
AuthenticationOrderOptimizer authenticationOrderOptimizer,
AccessFilterFactory accessFilterFactory,
CrowdDarkFeatureManager crowdDarkFeatureManager) |
| 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) |
boolean |
isUserAuthorised(Application application,
User user) |
addAllUsers, addGroup, addGroupToGroup, addUser, addUser, addUserToGroup, authenticateUser, createPagedGroupSearcher, createPagedUserSearcher, expireAllPasswords, findGroupByName, findGroupWithAttributesByName, findRemoteUserByName, findUserByKey, findUserByName, findUserWithAttributesByKey, findUserWithAttributesByName, findWebhookById, getCapabilitiesForNewUsers, getCurrentEventToken, getMemberships, getNewEvents, getUserAvatar, getUserAvatarLink, isGroupDirectGroupMember, isGroupNestedGroupMember, 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, AuthenticationOrderOptimizer authenticationOrderOptimizer, AccessFilterFactory accessFilterFactory, CrowdDarkFeatureManager crowdDarkFeatureManager)
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 ApplicationServiceGenericpublic boolean isUserAuthorised(Application application, User user)
isUserAuthorised in interface ApplicationServiceisUserAuthorised in class ApplicationServiceGenericCopyright © 2023 Atlassian. All rights reserved.