com.sun.identity.wss.security
Class SAML2TokenSpec

java.lang.Object
  extended by com.sun.identity.wss.security.SAML2TokenSpec
All Implemented Interfaces:
SecurityTokenSpec

public class SAML2TokenSpec
extends Object
implements SecurityTokenSpec

This class implements the interface SecurityTokenSpecSAML2 Assertions.


Constructor Summary
SAML2TokenSpec(NameID nameIdentifier, SecurityMechanism securityMechanism, String certAlias)
          Creates a new instance of SAML2TokenSpec
 
Method Summary
 SecurityMechanism getSecurityMechanism()
          Returns the security mechanism
 NameID getSenderIdentity()
          Returns the authenticated subject name identifier.
 String getSubjectCertAlias()
          Returns the certficate alias of the subject.
 

Constructor Detail

SAML2TokenSpec

public SAML2TokenSpec(NameID nameIdentifier,
                      SecurityMechanism securityMechanism,
                      String certAlias)
Creates a new instance of SAML2TokenSpec

Method Detail

getSenderIdentity

public NameID getSenderIdentity()
Returns the authenticated subject name identifier.

Returns:
the name identifier of the authenticated subject.

getSecurityMechanism

public SecurityMechanism getSecurityMechanism()
Returns the security mechanism

Returns:
the security mechanism

getSubjectCertAlias

public String getSubjectCertAlias()
Returns the certficate alias of the subject.

Returns:
the certificate alias of the subject.