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 preferrable to get this information from the
Authenticator instead.
getUser
public java.security.Principal getUser()
setUser
public void setUser(java.security.Principal user)
clearUser
public void clearUser()
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.