public abstract class AbstractSAML2ProfileConfiguration extends AbstractSAMLProfileConfiguration implements SAML2ProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
encryptAssertionsPredicate
Predicate used to determine if assertions should be encrypted.
|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
encryptAttributesPredicate
Predicate used to determine if attributes should be encrypted.
|
private boolean |
encryptionOptional
Whether encryption is optional in the face of no key, etc.
|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
encryptNameIDsPredicate
Predicate used to determine if name identifiers should be encrypted.
|
private Set<String> |
proxyAudiences
Audiences for the proxy.
|
private long |
proxyCount
Maximum proxy count for an assertion.
|
| Constructor and Description |
|---|
AbstractSAML2ProfileConfiguration(String profileId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
getEncryptAssertions()
Get the predicate used to determine if assertions should be encrypted.
|
com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
getEncryptAttributes()
Get the predicate used to determine if attributes should be encrypted.
|
com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
getEncryptNameIDs()
Get the predicate used to determine if name identifiers should be encrypted.
|
Collection<String> |
getProxyAudiences()
Get the unmodifiable collection of audiences for a proxied assertion.
|
long |
getProxyCount()
Get the maximum number of times an assertion may be proxied.
|
boolean |
isEncryptionOptional()
Get whether to ignore an inability to encrypt due to external factors.
|
void |
setEncryptAssertions(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if assertions should be encrypted.
|
void |
setEncryptAttributes(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if attributes should be encrypted.
|
void |
setEncryptionOptional(boolean flag)
Set whether encryption is optional in the face of a missing key, etc.
|
void |
setEncryptNameIDs(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if name identifiers should be encrypted.
|
void |
setProxyAudiences(Collection<String> audiences)
Set the proxy audiences to be added to responses.
|
void |
setProxyCount(long count)
Set the maximum number of times an assertion may be proxied.
|
getAdditionalAudiencesForAssertion, getAssertionLifetime, getSignAssertions, getSignRequests, getSignResponses, includeConditionsNotBefore, setAdditionalAudienceForAssertion, setAssertionLifetime, setIncludeConditionsNotBefore, setSignAssertions, setSignRequests, setSignResponsesequals, getId, getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration, hashCode, setInboundInterceptorFlows, setOutboundInterceptorFlows, setSecurityConfigurationclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfigurationprivate boolean encryptionOptional
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> encryptAssertionsPredicate
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> encryptNameIDsPredicate
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> encryptAttributesPredicate
private long proxyCount
public long getProxyCount()
getProxyCount in interface SAML2ProfileConfigurationpublic void setProxyCount(@NonNegative
long count)
count - maximum number of times an assertion may be proxiedpublic Collection<String> getProxyAudiences()
getProxyAudiences in interface SAML2ProfileConfigurationpublic void setProxyAudiences(@Nonnull@NonnullElements Collection<String> audiences)
audiences - proxy audiences to be added to responsespublic boolean isEncryptionOptional()
This allows a deployer to signal that encryption is "best effort" and can be omitted if a relying party doesn't possess a key, support a compatible algorithm, etc.
Defaults to false.
isEncryptionOptional in interface SAML2ProfileConfigurationpublic void setEncryptionOptional(boolean flag)
flag - flag to set@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getEncryptAssertions()
getEncryptAssertions in interface SAML2ProfileConfigurationpublic void setEncryptAssertions(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if assertions should be encrypted@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getEncryptNameIDs()
getEncryptNameIDs in interface SAML2ProfileConfigurationpublic void setEncryptNameIDs(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if name identifiers should be encrypted@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getEncryptAttributes()
getEncryptAttributes in interface SAML2ProfileConfigurationpublic void setEncryptAttributes(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if attributes should be encryptedCopyright © 1999–2015. All rights reserved.