public class AssertionTokenSpec extends Object implements SecurityTokenSpec
SecurityTokenSpec
to
create SAML1.0
and SAML1.1
Assertions / Security
Tokens.Constructor and Description |
---|
AssertionTokenSpec() |
AssertionTokenSpec(NameIdentifier nameIdentifier,
SecurityMechanism securityMechanism,
String certAlias)
Construtor
|
Modifier and Type | Method and Description |
---|---|
String |
getAppliesTo()
Returns the name of the service for which assertion needs to be issued
|
String |
getAssertionID()
Returns the assertion identifier.
|
long |
getAssertionInterval()
Returns the assertion interval
|
String |
getAuthenticationMethod()
Returns the authentication method
|
Map<QName,List<String>> |
getClaimedAttributes()
Returns the cliamed attributes
|
String |
getConfirmationMethod()
Returns the confirmation method.
|
String |
getIssuer()
Returns the issuer name.
|
Element |
getKeyInfo()
Returns the keyinfo element.
|
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(long 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 |
setKeyInfo(Element keyInfo)
Sets the keyinfo element.
|
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.
|
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.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<QName,List<String>> 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 long getAssertionInterval()
public void setAssertionInterval(long 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.public Element getKeyInfo()
public void setKeyInfo(Element keyInfo)
keyInfo
- the keyinfo element.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.