package

com.atlassian.stash.user

Interfaces

DeprecatedSecurityService This interface is deprecated. in 2.12 and scheduled for removal in 4.0. This interface will be removed and SecurityService will no longer extend this interface.  
DetailedGroup Extends a group, which is a simple String name generally, with additional details relating to the directory backing the group. 
DetailedUser Extends a StashUser with additional details relating to the directory backing the user. 
EffectiveGlobalPermission A global EffectivePermission
EffectivePermission An effective permission is a permission that is either:
  • directly granted (as a permission associated with the user or as a permission associated with a group the user is a member of),
  • or indirectly granted through a inherited permission (such as a sysadmin inheriting a admin permission). 
EffectivePermissionVisitor<T> Visitor for effective permissions
EffectiveProjectPermission An EffectivePermission associated with a Project
EffectiveRepositoryPermission An EffectivePermission associated with a Repository
EscalatedSecurityContext Custom security context that specifies as what user and with which additional permissions an Operation should be called. 
PermissionAdminService Updates and queries the permissions of users and groups. 
PermissionPredicateFactory Factory for creation permission-predicates  
PermissionService Reads the permissions of users and groups. 
PermissionValidationService A utility service for plugin developer to validate that the current user has a specific permission. 
PermittedGroup Defines an association between a group and a Permission which has been granted to it. 
PermittedUser Defines an association between a StashUser and a Permission which has been granted to them. 
Person A minimal person abstraction, suitable for describing authors, committers and other people who may not have an explicit user account. 
RecentlyAccessedRepositoriesService Provides information about a history of repositories that a user has accessed while interacting with a Stash instance. 
SecurityService Plugins may wish to perform operations as a particular user. 
ServiceUser Represents a registered service user of Stash. 
StashAuthenticationContext Obtains the current user logged in Stash. 
StashUser Represents a registered user of Stash. 
StashUserVisitor<T> Implements the visitor pattern for users
UserAdminService Provides methods for querying, creating and updating users and groups. 
UserService Provides methods for querying users and managing authentication. 

Classes

AbstractEffectivePermissionVisitor<T>  
AbstractServiceUserRequest  
AbstractServiceUserRequest.AbstractBuilder<B extends AbstractBuilder<B>>  
AbstractStashUserVisitor<T>  
AbstractVoidStashUserVisitor  
PermissionI18n Provides access to i18n-ed name, short name and description of Permissions. 
PermissionRequest Represents a permission request, which can be used to request users with a specific permission, or verify that users have a specific permission. 
PermissionRequest.Builder  
ServiceUserCreateRequest  
ServiceUserCreateRequest.Builder  
ServiceUserUpdateRequest  
ServiceUserUpdateRequest.Builder  
SetPermissionRequest Used to set a permission to multiple users and/or groups. 
SetPermissionRequest.Builder  
StashUserEquality  
UserSearchRequest Request for searching users. 
UserSearchRequest.Builder  

Enums

Permission Permissions available in Stash. 
UserType The type of user 

Exceptions

AuthenticationException Base type for all exceptions which are thrown while processing user authentication attempts. 
AuthenticationSystemException A specialisation of AuthenticationException, thrown when the underlying authentication subsystem fails. 
CaptchaAuthenticationException Base specialisation for AuthenticationExceptions which are thrown for CAPTCHA attempts. 
CaptchaRequiredAuthenticationException A specialisation of CaptchaAuthenticationException, thrown to indicate the user has entered their password incorrectly too many times in succession and is required to solve a CAPTCHA before they will be allowed to login again. 
ExpiredAuthenticationException A specialization of AuthenticationException that should be thrown when an existing authentication has expired. 
ExpiredPasswordAuthenticationException A specialisation of AuthenticationException, thrown to indicate the user cannot be authenticated because their password has expired and must be changed. 
InactiveUserAuthenticationException A specialisation of AuthenticationException, thrown to indicate the user cannot be authenticated because their account is no longer active. 
IncorrectCaptchaAuthenticationException A specialisation of CaptchaAuthenticationException, thrown when the CAPTCHA response provided by the user does not match the image that was presented. 
IncorrectPasswordAuthenticationException A specialisation of AuthenticationException, thrown to indicate the password supplied during an authentication attempt does not match the password on record. 
NoAccessAuthenticationException A specialisation of AuthenticationException, thrown to indicate the user cannot be authenticated because they don't have access to Stash. 
PermissionGrantCanceledException  
PermissionModificationCanceledException  
PermissionRevocationCanceledException  
PreAuthenticationFailedException A specialisation of AuthenticationException, thrown when the SecurityService fails to authenticate the do-as user.