|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.wss.security.AssertionTokenSpec
public class AssertionTokenSpec
This class implements the interface SecurityTokenSpec
to
create SAML1.0
and SAML1.1
Assertions / Security
Tokens.
Constructor Summary | |
---|---|
AssertionTokenSpec()
|
|
AssertionTokenSpec(NameIdentifier nameIdentifier,
SecurityMechanism securityMechanism,
String certAlias)
Construtor |
Method Summary | |
---|---|
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. |
Constructor Detail |
---|
public AssertionTokenSpec()
public AssertionTokenSpec(NameIdentifier nameIdentifier, SecurityMechanism securityMechanism, String certAlias)
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 |
---|
public NameIdentifier getSenderIdentity()
public void setSenderIdentity(NameIdentifier nameID)
nameID
- the sender's name identifier.public SecurityMechanism getSecurityMechanism()
public String getSubjectCertAlias()
public void setSubjectCertAlias(String certAlias)
certAlias
- the certificate alias of the subject.public String getIssuer()
public void setIssuer(String issuer)
issuer
- the issuer name.public Map getClaimedAttributes()
public void setClaimedAttributes(Map attrs)
attrs
- the claimed attributespublic String getConfirmationMethod()
public void setConfirmationMethod(String confirmationMethod)
confirmationMethod
- the confirmation methodpublic String getAppliesTo()
public void setAppliesTo(String appliesTo)
appliesTo
- the name of the service for which the assertion needs
to be issued.public int getAssertionInterval()
public void setAssertionInterval(int interval)
interval
- the assertion interval.public String getAuthenticationMethod()
public void setAuthenticationMethod(String authMethod)
authMethod
- the authentication method.public String getAssertionID()
public void setAssertionID(String assertionID)
assertionID
- the assertion identifier.public String getSigningAlias()
public void setSigningAlias(String alias)
alias
- the sigining cert alias.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |