| org.josso.gateway.SSOGateway
All known Subclasses: org.josso.gateway.SSOGatewayImpl,
SSOGateway | public interface SSOGateway (Code) | | SSO Gateway service interface.
author: Sebastian Gonzalez Oyuela version: $Id: SSOGateway.java 508 2008-02-18 13:32:29Z sgonzalez $ |
assertIdentity | AuthenticationAssertion assertIdentity(Credential[] credentials, String scheme, SSOContext ctx) throws SSOException, SSOAuthenticationException(Code) | | Create an authentication assertion based on the supplied credentials. If assertion is successful a new session
is created for the subject which can be referenced through the corresponding assertion identifier.
Parameters: credentials - that proof user identity. Parameters: scheme - the authentication scheme name to be used forlogging in the user. Parameters: ctx - the external context used during method execution the user information after login. throws: SSOException - if an error occurs. throws: SSOAuthenticationException - if user identity cannot be confirmed. |
destroy | void destroy()(Code) | | Destroys this instance, free all resources.
|
findUserInSession | SSOUser findUserInSession(String sessionId) throws SSOException(Code) | | Finds a user based on session id, the user has to be logged in the SSO infrastructure.
Parameters: sessionId - throws: SSOException - if user was not logged in the SSO. |
initialize | void initialize()(Code) | | Initializes this gateway.
|
isInitialized | boolean isInitialized()(Code) | | true if the gateway was already initialized. |
logout | void logout(SSOContext ctx) throws SSOException(Code) | | Logout a user from the SSO infrastructure.
Parameters: ctx - the external context used during method execution throws: SSOException - if an error occurs. |
|
|