com.sun.identity.wss.security
クラス AssertionTokenSpec

java.lang.Object
  上位を拡張 com.sun.identity.wss.security.AssertionTokenSpec
すべての実装されたインタフェース:
SecurityTokenSpec

public class AssertionTokenSpec
extends Object
implements SecurityTokenSpec

This class implements the interface SecurityTokenSpec to create SAML1.0 and SAML1.1 Assertions / Security Tokens.


コンストラクタの概要
AssertionTokenSpec()
           
AssertionTokenSpec(NameIdentifier nameIdentifier, SecurityMechanism securityMechanism, String certAlias)
          Construtor
 
メソッドの概要
 String getAppliesTo()
          Returns the name of the service for which assertion needs to be issued
 String getAssertionID()
          Returns the assertion identifier.
 int getAssertionInterval()
          Returns the assertion interval
 String getAuthenticationMethod()
          Returns the authentication method
 Map getClaimedAttributes()
          Returns the cliamed attributes
 String getConfirmationMethod()
          Returns the confirmation method.
 String getIssuer()
          Returns the issuer name.
 SecurityMechanism getSecurityMechanism()
          Returns the security mechanism
 NameIdentifier getSenderIdentity()
          Returns the authenticated subject name identifier.
 String getSigningAlias()
          Returns the signing alias
 String getSubjectCertAlias()
          Returns the certficate alias of the subject.
 void setAppliesTo(String appliesTo)
          Sets the name of the service for which the assertion needs to be issued.
 void setAssertionID(String assertionID)
          Sets the assertion identifier.
 void setAssertionInterval(int interval)
          Sets the assertion interval
 void setAuthenticationMethod(String authMethod)
          Sets the authentication method
 void setClaimedAttributes(Map attrs)
          Sets the claimed attributes
 void setConfirmationMethod(String confirmationMethod)
          Sets the confirmation method
 void setIssuer(String issuer)
          Sets the issuer name.
 void setSenderIdentity(NameIdentifier nameID)
          Sets the sender identity
 void setSigningAlias(String alias)
          Sets the signing cert alias.
 void setSubjectCertAlias(String certAlias)
          Sets the certificate alias of the subject.
 

コンストラクタの詳細

AssertionTokenSpec

public AssertionTokenSpec()

AssertionTokenSpec

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

パラメータ:
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.
メソッドの詳細

getSenderIdentity

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

戻り値:
the name identifier of the authenticated subject.

setSenderIdentity

public void setSenderIdentity(NameIdentifier nameID)
Sets the sender identity

パラメータ:
nameID - the sender's name identifier.

getSecurityMechanism

public SecurityMechanism getSecurityMechanism()
Returns the security mechanism

戻り値:
the security mechanism

getSubjectCertAlias

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

戻り値:
the certificate alias of the subject.

setSubjectCertAlias

public void setSubjectCertAlias(String certAlias)
Sets the certificate alias of the subject.

パラメータ:
certAlias - the certificate alias of the subject.

getIssuer

public String getIssuer()
Returns the issuer name.

戻り値:
the issuer name.

setIssuer

public void setIssuer(String issuer)
Sets the issuer name.

パラメータ:
issuer - the issuer name.

getClaimedAttributes

public Map getClaimedAttributes()
Returns the cliamed attributes

戻り値:
the cliamed attributes

setClaimedAttributes

public void setClaimedAttributes(Map attrs)
Sets the claimed attributes

パラメータ:
attrs - the claimed attributes

getConfirmationMethod

public String getConfirmationMethod()
Returns the confirmation method.

戻り値:
the confirmation method.

setConfirmationMethod

public void setConfirmationMethod(String confirmationMethod)
Sets the confirmation method

パラメータ:
confirmationMethod - the confirmation method

getAppliesTo

public String getAppliesTo()
Returns the name of the service for which assertion needs to be issued

戻り値:
the name of the service for which assertion needs to be issued

setAppliesTo

public void setAppliesTo(String appliesTo)
Sets the name of the service for which the assertion needs to be issued.

パラメータ:
appliesTo - the name of the service for which the assertion needs to be issued.

getAssertionInterval

public int getAssertionInterval()
Returns the assertion interval

戻り値:
the assertion interval

setAssertionInterval

public void setAssertionInterval(int interval)
Sets the assertion interval

パラメータ:
interval - the assertion interval.

getAuthenticationMethod

public String getAuthenticationMethod()
Returns the authentication method

戻り値:
the authentication method

setAuthenticationMethod

public void setAuthenticationMethod(String authMethod)
Sets the authentication method

パラメータ:
authMethod - the authentication method.

getAssertionID

public String getAssertionID()
Returns the assertion identifier.

戻り値:
the assertion identifier.

setAssertionID

public void setAssertionID(String assertionID)
Sets the assertion identifier.

パラメータ:
assertionID - the assertion identifier.

getSigningAlias

public String getSigningAlias()
Returns the signing alias

戻り値:
the signing alias

setSigningAlias

public void setSigningAlias(String alias)
Sets the signing cert alias.

パラメータ:
alias - the sigining cert alias.