com.atlassian.seraph.auth
Interface AuthenticationContext
- All Known Implementing Classes:
- AuthenticationContextImpl
public interface AuthenticationContext
Allow the user to be retrieved at any time throughout the application. Typically implementations
of this class will use a Thread Local variable to store state.
If the client has access to the request, it is preferable to get this information from the
Authenticator
instead.
getUser
Principal getUser()
setUser
void setUser(Principal user)
clearUser
void clearUser()
Copyright © 2013 Atlassian. All Rights Reserved.