java.lang.Object |
↳ |
com.atlassian.seraph.auth.AbstractAuthenticator |
|
↳ |
com.atlassian.seraph.auth.DefaultAuthenticator |
|
|
↳ |
com.atlassian.jira.security.login.JiraSeraphAuthenticator |
Class Overview
JIRA's standard implementation of Seraph's Authenticator interface.
It uses Crowd Embedded to implement the abstract methods of Seraph's default base implementation.
Summary
[Expand]
Inherited Constants |
From class
com.atlassian.seraph.auth.DefaultAuthenticator
|
[Expand]
Inherited Methods |
From class
com.atlassian.seraph.auth.DefaultAuthenticator
abstract
boolean
|
authenticate(Principal arg0, String arg1)
|
boolean
|
authoriseUserAndEstablishSession(HttpServletRequest arg0, HttpServletResponse arg1, Principal arg2)
|
String
|
getAuthType()
|
ElevatedSecurityGuard
|
getElevatedSecurityGuard()
|
List<LogoutInterceptor>
|
getLogoutInterceptors()
|
RememberMeService
|
getRememberMeService()
|
RoleMapper
|
getRoleMapper()
|
abstract
Principal
|
getUser(String arg0)
|
Principal
|
getUser(HttpServletRequest arg0, HttpServletResponse arg1)
|
Principal
|
getUserFromBasicAuthentication(HttpServletRequest arg0, HttpServletResponse arg1)
|
Principal
|
getUserFromCookie(HttpServletRequest arg0, HttpServletResponse arg1)
|
Principal
|
getUserFromSession(HttpServletRequest arg0)
|
void
|
init(Map<String, String> arg0, SecurityConfig arg1)
|
boolean
|
isAuthorised(HttpServletRequest arg0, Principal arg1)
|
boolean
|
isPrincipalAlreadyInSessionContext(HttpServletRequest arg0, Principal arg1)
|
boolean
|
login(HttpServletRequest arg0, HttpServletResponse arg1, String arg2, String arg3, boolean arg4)
|
boolean
|
logout(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
putPrincipalInSessionContext(HttpServletRequest arg0, Principal arg1)
|
Principal
|
refreshPrincipalObtainedFromSession(HttpServletRequest arg0, Principal arg1)
|
void
|
removePrincipalFromSessionContext(HttpServletRequest arg0)
|
|
From class
com.atlassian.seraph.auth.AbstractAuthenticator
void
|
destroy()
|
SecurityConfig
|
getConfig()
|
String
|
getRemoteUser(HttpServletRequest arg0)
|
Principal
|
getUser(HttpServletRequest arg0)
|
abstract
Principal
|
getUser(HttpServletRequest arg0, HttpServletResponse arg1)
|
void
|
init(Map<String, String> arg0, SecurityConfig arg1)
|
boolean
|
login(HttpServletRequest arg0, HttpServletResponse arg1, String arg2, String arg3)
|
abstract
boolean
|
login(HttpServletRequest arg0, HttpServletResponse arg1, String arg2, String arg3, boolean arg4)
|
abstract
boolean
|
logout(HttpServletRequest arg0, HttpServletResponse arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.atlassian.seraph.Initable
|
From interface
com.atlassian.seraph.auth.Authenticator
void
|
destroy()
|
String
|
getRemoteUser(HttpServletRequest arg0)
|
Principal
|
getUser(HttpServletRequest arg0)
|
Principal
|
getUser(HttpServletRequest arg0, HttpServletResponse arg1)
|
boolean
|
login(HttpServletRequest arg0, HttpServletResponse arg1, String arg2, String arg3)
|
boolean
|
login(HttpServletRequest arg0, HttpServletResponse arg1, String arg2, String arg3, boolean arg4)
|
boolean
|
logout(HttpServletRequest arg0, HttpServletResponse arg1)
|
|
Public Constructors
public
JiraSeraphAuthenticator
()
Protected Methods
protected
Principal
getUserFromBasicAuthentication
(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
protected
Principal
refreshPrincipalObtainedFromSession
(HttpServletRequest httpServletRequest, Principal principal)
This is called to refresh the Principal object that has been retreived from the HTTP session.
By default this will called getUser(String)
again to get a fresh user.
Parameters
httpServletRequest
| the HTTP request in play |
principal
| the Principal in play |
Returns
- a fresh up to date principal