com.atlassian.bitbucket.auth.AuthenticationContext |
Class Overview
A context for accessing the currently-authenticated user.
Public Methods
@Nullable
public
ApplicationUser
getCurrentUser
()
Returns
- the current user or
null
if anonymous
@Nonnull
public
Map<String, Serializable>
getProperties
()
Returns
- the authentication properties provided during authentication; empty map if not authenticated
public
boolean
isAuthenticated
()
Returns
true
if the current request is authenticated