com.sun.identity.wss.security
Class AssertionTokenSpec

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

public class AssertionTokenSpec
extends Object
implements SecurityTokenSpec

This class implements the interface SecurityTokenSpecSAML Assertions.


Constructor Summary
AssertionTokenSpec(NameIdentifier nameIdentifier, SecurityMechanism securityMechanism, String certAlias)
          Construtor
 
Method Summary
 SecurityMechanism getSecurityMechanism()
          Returns the security mechanism
 NameIdentifier getSenderIdentity()
          Returns the authenticated subject name identifier.
 String getSubjectCertAlias()
          Returns the certficate alias of the subject.
 

Constructor Detail

AssertionTokenSpec

public AssertionTokenSpec(NameIdentifier nameIdentifier,
                          SecurityMechanism securityMechanism,
                          String certAlias)
Construtor

Parameters:
nameIdentifier - the name identifier of the authenticated subject.
securityMechanism - the security mechanism that should be used to generate the assertion token.
certAlias - the public key certificate alias of the authenticated subject.
Method Detail

getSenderIdentity

public NameIdentifier 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.