public class

SSOSeraphAuthenticator

extends CrowdAuthenticator
java.lang.Object
   ↳ com.atlassian.seraph.auth.AbstractAuthenticator
     ↳ com.atlassian.seraph.auth.DefaultAuthenticator
       ↳ com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
         ↳ com.atlassian.jira.security.login.SSOSeraphAuthenticator

Class Overview

Seraph Authenticator for providing single signon with Crowd.

Summary

[Expand]
Inherited Constants
From class com.atlassian.seraph.auth.DefaultAuthenticator
From interface com.atlassian.seraph.auth.Authenticator
[Expand]
Inherited Fields
From class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
Public Constructors
SSOSeraphAuthenticator()
SSOSeraphAuthenticator(CrowdHttpAuthenticator crowdHttpAuthenticator)
Protected Methods
Principal getUser(String username)
void logoutUser(HttpServletRequest request)
Principal refreshPrincipalObtainedFromSession(HttpServletRequest httpServletRequest, Principal principal)
This is called to refresh the Principal object that has been retreived from the HTTP session.
[Expand]
Inherited Methods
From class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
From class com.atlassian.seraph.auth.DefaultAuthenticator
From class com.atlassian.seraph.auth.AbstractAuthenticator
From class java.lang.Object
From interface com.atlassian.seraph.Initable
From interface com.atlassian.seraph.auth.Authenticator

Public Constructors

public SSOSeraphAuthenticator ()

public SSOSeraphAuthenticator (CrowdHttpAuthenticator crowdHttpAuthenticator)

Protected Methods

protected Principal getUser (String username)

protected void logoutUser (HttpServletRequest request)

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