| java.lang.Object org.josso.gateway.SSOGatewayImpl
SSOGatewayImpl | public class SSOGatewayImpl implements SSOGateway(Code) | | This is the default SSO Gateway implementation.
author: Sebastian Gonzalez Oyuela version: $Id: SSOGatewayImpl.java 508 2008-02-18 13:32:29Z sgonzalez $ |
Method Summary | |
public AuthenticationAssertion | assertIdentity(Credential[] credentials, String scheme, SSOContext ctx) Create an authentication assertion based on the supplied credentials. | public AuthenticationAssertion | assertIdentity(String sessionId) Create an authentication assertion from a previous existing and valid one. | public void | destroy() | public SSORole[] | findRolesByUsername(String username) | public SSOSession | findSession(String jossoSessionId) | public SSOUser | findUserInSession(String sessionId) Finds a user associated to the given session. | public String | getPrincipalName(String schemeName, Credential[] creds) | public void | initialize() Initializes the SSO gateway. | public boolean | isInitialized() | public SSOSession | login(Credential[] cred, String scheme, SSOContext ctx) This method logins a user into de SSO infrastructure. | public void | logout(SSOContext ctx) Logouts a user from the SSO infrastructure. | public Credential | newCredential(String schemeName, String name, Object value) | protected void | notifyLoginFailed(SSOContext ctx, Credential[] credentials, String scheme, Throwable error) | protected void | notifyLoginSuccess(SSOContext ctx, String username, SSOSession session, String scheme) | protected void | notifyLogoutSuccess(SSOContext ctx) |
SSOGatewayImpl | public SSOGatewayImpl()(Code) | | |
assertIdentity | public AuthenticationAssertion assertIdentity(String sessionId) throws SSOException(Code) | | Create an authentication assertion from a previous existing and valid one.
Parameters: sessionId - SSO session identifier for the session to be bound to the new assertion. throws: SSOException - |
destroy | public void destroy()(Code) | | |
initialize | public void initialize()(Code) | | Initializes the SSO gateway.
|
isInitialized | public boolean isInitialized()(Code) | | |
|
|