public abstract class AbstractSAMLProfileConfiguration extends Object implements ProfileConfiguration
Modifier and Type | Field and Description |
---|---|
private Collection<String> |
assertionAudiences
Audiences for the assertion.
|
private long |
assertionLifetime
Life of the assertion in milliseconds.
|
private byte[] |
outboundArtifactType
2-byte artifact type used on outbound messages.
|
private SecurityPolicy |
profileSecurityPolicy
Security policy for this profile.
|
private CryptoOperationRequirementLevel |
signAssertions
Whether to sign assertions.
|
private Credential |
signingCredential
Assertion signing credential.
|
private CryptoOperationRequirementLevel |
signRequests
Whether to sign protocol requests.
|
private CryptoOperationRequirementLevel |
signResponses
Whether to sign protocol responses.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSAMLProfileConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAssertionAudiences()
Gets the list of audiences an assertion is intended for.
|
long |
getAssertionLifetime()
Gets the lifetime, in millisecond, for an issued assertion.
|
byte[] |
getOutboundArtifactType()
Gets the 2-byte artifact type used on outbound messages.
|
SecurityPolicy |
getSecurityPolicy()
Gets the security policy for this profile.
|
CryptoOperationRequirementLevel |
getSignAssertions()
Gets whether assertions should be signed.
|
Credential |
getSigningCredential()
Gets the credential that should be used to sign a message.
|
CryptoOperationRequirementLevel |
getSignRequests()
Gets whether to sign protocol requests.
|
CryptoOperationRequirementLevel |
getSignResponses()
Gets whether to sign protocol responses.
|
void |
setAssertionAudiences(Collection<String> audiences)
Sets the list of audiences an assertion is intended for.
|
void |
setAssertionLifetime(long lifetime)
Sets the lifetime, in millisecond, for an issued assertion.
|
void |
setOutboundArtifactType(byte[] type)
Sets the 2-byte artifact type used on outbound messages.
|
void |
setSecurityPolicy(SecurityPolicy policy)
Sets the security policy for this profile.
|
void |
setSignAssertions(CryptoOperationRequirementLevel sign)
Sets whether assertions should be signed.
|
void |
setSigningCredential(Credential credential)
Gets the credential that should be used for sign a message.
|
void |
setSignRequests(CryptoOperationRequirementLevel sign)
Sets whether to sign protocol requests.
|
void |
setSignResponses(CryptoOperationRequirementLevel sign)
Sets whether to sign protocol responses.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProfileId
private Collection<String> assertionAudiences
private long assertionLifetime
private byte[] outboundArtifactType
private SecurityPolicy profileSecurityPolicy
private CryptoOperationRequirementLevel signAssertions
private Credential signingCredential
private CryptoOperationRequirementLevel signRequests
private CryptoOperationRequirementLevel signResponses
protected AbstractSAMLProfileConfiguration()
public Collection<String> getAssertionAudiences()
public long getAssertionLifetime()
public byte[] getOutboundArtifactType()
public SecurityPolicy getSecurityPolicy()
getSecurityPolicy
in interface ProfileConfiguration
public CryptoOperationRequirementLevel getSignAssertions()
public Credential getSigningCredential()
public CryptoOperationRequirementLevel getSignRequests()
public CryptoOperationRequirementLevel getSignResponses()
public void setAssertionAudiences(Collection<String> audiences)
audiences
- list of audiences an assertion is intended forpublic void setAssertionLifetime(long lifetime)
lifetime
- lifetime, in millisecond, for an issued assertionpublic void setOutboundArtifactType(byte[] type)
type
- 2-byte artifact type used on outbound messages.public void setSecurityPolicy(SecurityPolicy policy)
policy
- security policy for this profilepublic void setSignAssertions(CryptoOperationRequirementLevel sign)
sign
- whether assertions should be signedpublic void setSigningCredential(Credential credential)
credential
- credential that should be used for sign a messagepublic void setSignRequests(CryptoOperationRequirementLevel sign)
sign
- whether to sign protocol requestspublic void setSignResponses(CryptoOperationRequirementLevel sign)
sign
- whether to sign protocol responsesCopyright © 1999-2012. All Rights Reserved.