public class JiraSeraphAuthenticator
extends com.atlassian.seraph.auth.DefaultAuthenticator
It uses Crowd Embedded to implement the abstract methods of Seraph's default base implementation.
| Constructor and Description |
|---|
JiraSeraphAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authenticate(Principal user,
String password) |
protected Principal |
getUser(String username) |
protected Principal |
getUserFromBasicAuthentication(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected Principal |
refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest,
Principal principal)
This is called to refresh the Principal object that has been retreived from the HTTP session.
|
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUser, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, login, logout, putPrincipalInSessionContext, removePrincipalFromSessionContextprotected Principal getUser(String username)
getUser in class com.atlassian.seraph.auth.DefaultAuthenticatorprotected boolean authenticate(Principal user, String password) throws com.atlassian.seraph.auth.AuthenticatorException
authenticate in class com.atlassian.seraph.auth.DefaultAuthenticatorcom.atlassian.seraph.auth.AuthenticatorExceptionprotected Principal refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
By default this will called getUser(String) again to get a fresh user.
refreshPrincipalObtainedFromSession in class com.atlassian.seraph.auth.DefaultAuthenticatorhttpServletRequest - the HTTP request in playprincipal - the Principal in playprotected Principal getUserFromBasicAuthentication(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
getUserFromBasicAuthentication in class com.atlassian.seraph.auth.DefaultAuthenticatorCopyright © 2002-2015 Atlassian. All Rights Reserved.