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, removePrincipalFromSessionContext
protected Principal getUser(String username)
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected boolean authenticate(Principal user, String password) throws com.atlassian.seraph.auth.AuthenticatorException
authenticate
in class com.atlassian.seraph.auth.DefaultAuthenticator
com.atlassian.seraph.auth.AuthenticatorException
protected 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.DefaultAuthenticator
httpServletRequest
- 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.DefaultAuthenticator
Copyright © 2002-2019 Atlassian. All Rights Reserved.