package

com.atlassian.stash.user

Interfaces

AvatarService Provides URLs from which avatar images can be retrieved. 
DeprecatedUserService Contains methods which are in some phase of deprecation in preparation for being removed from the UserService
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. 
GrantedPermission Represents a permission that is granted to either a user, a group, or anonymous users (granted to everyone). 
PermissionAdminService Updates 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  
SecurityService Plugins may wish to perform operations as a particular user. 
StashAuthenticationContext Obtains the current user logged in Stash. 
StashUser Represents a registered user of Stash. 
UserAdminService Provides methods for querying, creating and updating users and groups. 
UserService Provides methods for querying users and managing authentication. 

Classes

AvatarRequest Describes an avatar being requested, allowing callers control over certain avatar properties. 
CaptchaResponse Encapsulates a CAPTCHA challenge id and the corresponding user response. 
StashUserEquality  

Enums

Permission This enumeration encodes permissions and their inheritance, as well as their weighting. 

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. 
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.