|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.relyingparty.provider.AbstractSAMLProfileConfiguration
public abstract class AbstractSAMLProfileConfiguration
Profile settings common to SAML 1 and SAML 2.
Field Summary | |
---|---|
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 org.opensaml.ws.security.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. |
Constructor Summary | |
---|---|
protected |
AbstractSAMLProfileConfiguration()
Constructor. |
Method Summary | |
---|---|
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. |
org.opensaml.ws.security.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(org.opensaml.ws.security.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.relyingparty.ProfileConfiguration |
---|
getProfileId |
Field Detail |
---|
private Collection<String> assertionAudiences
private long assertionLifetime
private byte[] outboundArtifactType
private org.opensaml.ws.security.SecurityPolicy profileSecurityPolicy
private CryptoOperationRequirementLevel signAssertions
private Credential signingCredential
private CryptoOperationRequirementLevel signRequests
private CryptoOperationRequirementLevel signResponses
Constructor Detail |
---|
protected AbstractSAMLProfileConfiguration()
Method Detail |
---|
public Collection<String> getAssertionAudiences()
public long getAssertionLifetime()
public byte[] getOutboundArtifactType()
public org.opensaml.ws.security.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(org.opensaml.ws.security.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 responses
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |