Docs
Reference
Atlassian Marketplace
Answers
News
About
Log In
Atlassian Stash API
Package Index
|
Class Index
com.atlassian.stash
com.atlassian.stash.activity
com.atlassian.stash.audit
com.atlassian.stash.auth
com.atlassian.stash.avatar
com.atlassian.stash.branch
com.atlassian.stash.cluster
com.atlassian.stash.comment
com.atlassian.stash.commit
com.atlassian.stash.commit.graph
com.atlassian.stash.compare
com.atlassian.stash.concurrent
com.atlassian.stash.config.log
com.atlassian.stash.content
com.atlassian.stash.env
com.atlassian.stash.event
com.atlassian.stash.event.annotation
com.atlassian.stash.event.audit
com.atlassian.stash.event.backup
com.atlassian.stash.event.cluster
com.atlassian.stash.event.commit
com.atlassian.stash.event.hook
com.atlassian.stash.event.maintenance
com.atlassian.stash.event.migration
com.atlassian.stash.event.permission
com.atlassian.stash.event.pull
com.atlassian.stash.event.request
com.atlassian.stash.event.task
com.atlassian.stash.event.user
com.atlassian.stash.event.watch
com.atlassian.stash.exception
com.atlassian.stash.help
com.atlassian.stash.history
com.atlassian.stash.hook
com.atlassian.stash.hook.repository
com.atlassian.stash.i18n
com.atlassian.stash.idx
com.atlassian.stash.io
com.atlassian.stash.jira
com.atlassian.stash.license
com.atlassian.stash.mail
com.atlassian.stash.markup
com.atlassian.stash.nav
com.atlassian.stash.permissions
com.atlassian.stash.project
com.atlassian.stash.property
com.atlassian.stash.pull
com.atlassian.stash.repository
com.atlassian.stash.request
com.atlassian.stash.scm
com.atlassian.stash.scm.compare
com.atlassian.stash.scm.pull
com.atlassian.stash.scm.ref
com.atlassian.stash.server
com.atlassian.stash.setting
com.atlassian.stash.task
com.atlassian.stash.throttle
com.atlassian.stash.topic
com.atlassian.stash.user
com.atlassian.stash.util
com.atlassian.stash.validation
com.atlassian.stash.validation.groups
com.atlassian.stash.view
com.atlassian.stash.watcher
Interfaces
DeprecatedSecurityService
DetailedGroup
DetailedUser
EffectiveGlobalPermission
EffectivePermission
EffectivePermissionVisitor
<T>
EffectiveProjectPermission
EffectiveRepositoryPermission
EscalatedSecurityContext
PermissionAdminService
PermissionPredicateFactory
PermissionService
PermissionValidationService
PermittedGroup
PermittedUser
Person
RecentlyAccessedRepositoriesService
SecurityService
ServiceUser
StashAuthenticationContext
StashUser
StashUserVisitor
<T>
UserAdminService
UserService
Classes
AbstractEffectivePermissionVisitor
<T>
AbstractServiceUserRequest
AbstractServiceUserRequest.AbstractBuilder
<B extends
AbstractBuilder
<B>>
AbstractStashUserVisitor
<T>
AbstractVoidStashUserVisitor
PermissionI18n
PermissionRequest
PermissionRequest.Builder
ServiceUserCreateRequest
ServiceUserCreateRequest.Builder
ServiceUserUpdateRequest
ServiceUserUpdateRequest.Builder
SetPermissionRequest
SetPermissionRequest.Builder
StashUserEquality
UserSearchRequest
UserSearchRequest.Builder
Enums
Permission
UserType
Exceptions
AuthenticationException
AuthenticationSystemException
CaptchaAuthenticationException
CaptchaRequiredAuthenticationException
ExpiredAuthenticationException
ExpiredPasswordAuthenticationException
InactiveUserAuthenticationException
IncorrectCaptchaAuthenticationException
IncorrectPasswordAuthenticationException
NoAccessAuthenticationException
PermissionGrantCanceledException
PermissionModificationCanceledException
PermissionRevocationCanceledException
PreAuthenticationFailedException
Package Index
|
Class Index
public interface
StashAuthenticationContext
com.atlassian.stash.user.StashAuthenticationContext
Class Overview
Obtains the current user logged in Stash.
Summary
Public Methods
@Nullable
StashUser
getCurrentUser
()
boolean
isAuthenticated
()
Public Methods
@Nullable public
StashUser
getCurrentUser
()
Returns
the current user or
null
if anonymous
public boolean
isAuthenticated
()
Returns
true
if the current request is authenticated