com.adobe.idp.um.api.infomodel
Class SSOToken

java.lang.Object
  extended by com.adobe.idp.um.api.infomodel.SSOToken
All Implemented Interfaces:
java.io.Serializable

public class SSOToken
extends java.lang.Object
implements java.io.Serializable

This class represents a SAML 1.1 Post Profile Response. This class should be used for single sign-on (SSO) between web applications. An object of this calss can be obtained by calling AuthenticationManager.getSSOToken(). The SAML response is integrity protected (using XML-DSIG) and is short-lived.

See Also:
Serialized Form

Constructor Summary
SSOToken(org.w3c.dom.Node respNode)
          Constructor that uses a SAML response node.
 
Method Summary
 org.w3c.dom.Node getNode()
          Retrieves the SAML response node.
 java.lang.String toString()
          Retrieves the String representation of this SSO token.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSOToken

public SSOToken(org.w3c.dom.Node respNode)
Constructor that uses a SAML response node.

Parameters:
respNode - The SAML response node.
Method Detail

getNode

public org.w3c.dom.Node getNode()
                         throws java.lang.Exception
Retrieves the SAML response node.

Returns:
The SAML response node.
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Retrieves the String representation of this SSO token. This is obtained by encoding to Base64 representation the bytes of the SAMLResponse Node represented by this SSOToken. If the bytes comprising this String are to be used for Authentication purposes, they must be decoded from Base64 representation first.

Overrides:
toString in class java.lang.Object
Returns:
The String representation of this SSO token.


[an error occurred while processing this directive] [an error occurred while processing this directive]