org.jboss.security.identity.sso
Class JBossSingleSignOnProcessor

java.lang.Object
  extended by org.jboss.security.identity.sso.JBossSingleSignOnProcessor
All Implemented Interfaces:
SingleSignOnProcessor

public class JBossSingleSignOnProcessor
extends Object
implements SingleSignOnProcessor

OpenSAML v1.1 based implementation

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

Field Summary
 
Fields inherited from interface org.jboss.security.identity.sso.SingleSignOnProcessor
LOGOUT_DEST, LOGOUT_TOKEN, SSO_AUTH_TYPE, SSO_PASSWORD, SSO_SESSION, SSO_TOKEN, SSO_USERNAME
 
Constructor Summary
JBossSingleSignOnProcessor()
           
 
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 resp)
          This method parses a SAML authentication response and produces an AuthResponse domain object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossSingleSignOnProcessor

public JBossSingleSignOnProcessor()
Method Detail

generateAuthRequest

public String generateAuthRequest(String username,
                                  String password)
                           throws SSOException
Description copied from interface: SingleSignOnProcessor
This method generates a SAML authentication request based on the supplied username and password

Specified by:
generateAuthRequest in interface SingleSignOnProcessor
Returns:
Throws:
SSOException
See Also:
SingleSignOnProcessor.generateAuthRequest(String, String)

generateAuthResponse

public String generateAuthResponse(String assertingParty,
                                   String username,
                                   boolean success)
                            throws SSOException
Description copied from interface: SingleSignOnProcessor
This method generates a SAML authentication response based on the supplied username, password, and the status of the authentication process

Specified by:
generateAuthResponse in interface SingleSignOnProcessor
Returns:
Throws:
SSOException
See Also:
SingleSignOnProcessor.generateAuthResponse(String, String, boolean)

parseAuthRequest

public SSOUser parseAuthRequest(String request)
                         throws SSOException
Description copied from interface: SingleSignOnProcessor
This method parses a SAML authentication request into a SSOUser domain object

Specified by:
parseAuthRequest in interface SingleSignOnProcessor
Returns:
Throws:
SSOException
See Also:
SingleSignOnProcessor.parseAuthRequest(String)

parseAuthResponse

public AuthResponse parseAuthResponse(String resp)
                               throws SSOException
Description copied from interface: SingleSignOnProcessor
This method parses a SAML authentication response and produces an AuthResponse domain object

Specified by:
parseAuthResponse in interface SingleSignOnProcessor
Returns:
Throws:
SSOException
See Also:
parseAuthResponse(String)


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