org.jboss.security.identity.sso
Interface SingleSignOnProcessor

All Known Implementing Classes:
JBossSingleSignOnProcessor

public interface SingleSignOnProcessor

Interface for SAML based SSO processor

Since:
Apr 10, 2006
Version:
$Revision: 81038 $
Author:
Sohil Shah, Anil Saldhana

Field Summary
static String LOGOUT_DEST
           
static String LOGOUT_TOKEN
           
static String SSO_AUTH_TYPE
           
static String SSO_PASSWORD
           
static String SSO_SESSION
           
static String SSO_TOKEN
          SSO constants
static String SSO_USERNAME
           
 
Method Summary
 String generateAuthRequest(String username, String password)
          This method generates a SAML authentication request based on the supplied username and password
 String generateAuthResponse(String assertingParty, String username, boolean success)
          This method generates a SAML authentication response based on the supplied username, password, and the status of the authentication process
 SSOUser parseAuthRequest(String request)
          This method parses a SAML authentication request into a SSOUser domain object
 AuthResponse parseAuthResponse(String response)
          This method parses a SAML authentication response and produces an AuthResponse domain object
 

Field Detail

SSO_TOKEN

static final String SSO_TOKEN
SSO constants

See Also:
Constant Field Values

LOGOUT_TOKEN

static final String LOGOUT_TOKEN
See Also:
Constant Field Values

LOGOUT_DEST

static final String LOGOUT_DEST
See Also:
Constant Field Values

SSO_USERNAME

static final String SSO_USERNAME
See Also:
Constant Field Values

SSO_PASSWORD

static final String SSO_PASSWORD
See Also:
Constant Field Values

SSO_SESSION

static final String SSO_SESSION
See Also:
Constant Field Values

SSO_AUTH_TYPE

static final String SSO_AUTH_TYPE
See Also:
Constant Field Values
Method Detail

generateAuthRequest

String generateAuthRequest(String username,
                           String password)
                           throws SSOException
This method generates a SAML authentication request based on the supplied username and password

Parameters:
username -
password -
Returns:
Throws:
SSOException

generateAuthResponse

String generateAuthResponse(String assertingParty,
                            String username,
                            boolean success)
                            throws SSOException
This method generates a SAML authentication response based on the supplied username, password, and the status of the authentication process

Parameters:
assertingParty -
username -
password -
success -
Returns:
Throws:
SSOException

parseAuthRequest

SSOUser parseAuthRequest(String request)
                         throws SSOException
This method parses a SAML authentication request into a SSOUser domain object

Parameters:
request -
Returns:
Throws:
SSOException

parseAuthResponse

AuthResponse parseAuthResponse(String response)
                               throws SSOException
This method parses a SAML authentication response and produces an AuthResponse domain object

Parameters:
response -
Returns:
Throws:
SSOException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.