org.wso2.solutions.identity.relyingparty.saml.tokens
Class SAML2TokenHolder

java.lang.Object
  extended by org.wso2.solutions.identity.relyingparty.saml.tokens.SAML2TokenHolder
All Implemented Interfaces:
TokenHolder

public class SAML2TokenHolder
extends java.lang.Object
implements TokenHolder


Constructor Summary
SAML2TokenHolder()
           
 
Method Summary
 void createToken(org.w3c.dom.Element elem)
          Creates the SAML object from the element This method must be called first
 java.lang.String getIssuerName()
          Issuer of the SAML token
 org.opensaml.xml.signature.Signature getSAMLSignature()
           
 void populateAttributeTable(java.util.Map attributeTable)
          Populates the attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAML2TokenHolder

public SAML2TokenHolder()
Method Detail

createToken

public void createToken(org.w3c.dom.Element elem)
                 throws org.opensaml.xml.io.UnmarshallingException
Creates the SAML object from the element This method must be called first

Specified by:
createToken in interface TokenHolder
Parameters:
elem -
Throws:
org.opensaml.xml.io.UnmarshallingException - If the token creation fails

getSAMLSignature

public org.opensaml.xml.signature.Signature getSAMLSignature()
Specified by:
getSAMLSignature in interface TokenHolder
Returns:
the SAML signature.

getIssuerName

public java.lang.String getIssuerName()
Issuer of the SAML token

Specified by:
getIssuerName in interface TokenHolder
Returns:

populateAttributeTable

public void populateAttributeTable(java.util.Map attributeTable)
Populates the attributes.

Specified by:
populateAttributeTable in interface TokenHolder
Parameters:
attributeTable -