public abstract class AbstractSAML2ProfileConfiguration extends AbstractSAMLProfileConfiguration implements SAML2ProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<ProfileRequestContext> |
encryptAssertionsPredicate
Predicate used to determine if assertions should be encrypted.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
encryptAttributesPredicate
Predicate used to determine if attributes should be encrypted.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
encryptionOptionalPredicate
Whether encryption is optional in the face of no key, etc.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
encryptNameIDsPredicate
Predicate used to determine if name identifiers should be encrypted.
|
private Collection<String> |
proxyAudiences
Audiences for the proxy.
|
private com.google.common.base.Function<ProfileRequestContext,Collection<String>> |
proxyAudiencesLookupStrategy
Lookup function to supply
proxyAudiences property. |
private long |
proxyCount
Maximum proxy count for an assertion.
|
private com.google.common.base.Function<ProfileRequestContext,Long> |
proxyCountLookupStrategy
Lookup function to supply
proxyCount property. |
| Constructor and Description |
|---|
AbstractSAML2ProfileConfiguration(String profileId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Predicate<ProfileRequestContext> |
getEncryptAssertions()
Get the predicate used to determine if assertions should be encrypted.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getEncryptAttributes()
Get the predicate used to determine if attributes should be encrypted.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getEncryptionOptionalPredicate()
Get condition to determine whether encryption is optional in the face of a missing key, etc.
|
com.google.common.base.Predicate<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<ProfileRequestContext> predicate)
Set the predicate used to determine if assertions should be encrypted.
|
void |
setEncryptAttributes(com.google.common.base.Predicate<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 |
setEncryptionOptionalPredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set a condition to determine whether encryption is optional in the face of a missing key, etc.
|
void |
setEncryptNameIDs(com.google.common.base.Predicate<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 |
setProxyAudiencesLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
Set a lookup strategy for the
proxyAudiences property. |
void |
setProxyCount(long count)
Set the maximum number of times an assertion may be proxied.
|
void |
setProxyCountLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Long> strategy)
Set a lookup strategy for the
proxyCount property. |
getAdditionalAudiencesForAssertion, getAssertionLifetime, getInboundInterceptorFlows, getIncludeConditionsNotBeforePredicate, getSignAssertions, getSignRequests, getSignResponses, includeConditionsNotBefore, setAdditionalAudienceForAssertion, setAdditionalAudiencesForAssertion, setAssertionAudiencesLookupStrategy, setAssertionLifetime, setAssertionLifetimeLookupStrategy, setIncludeConditionsNotBefore, setIncludeConditionsNotBeforePredicate, setSignAssertions, setSignRequests, setSignResponsesgetActivationCondition, setActivationConditionequals, getDisallowedFeatures, getId, getIndirectProperty, getOutboundInterceptorFlows, getProfileRequestContext, getSecurityConfiguration, hashCode, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setInboundFlowsLookupStrategy, setInboundInterceptorFlows, setOutboundFlowsLookupStrategy, setOutboundInterceptorFlows, setSecurityConfiguration, setSecurityConfigurationLookupStrategy, setServletRequestclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetOutboundInterceptorFlows, getSecurityConfigurationgetId@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> encryptionOptionalPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> encryptAssertionsPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> encryptNameIDsPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> encryptAttributesPredicate
@Nullable private com.google.common.base.Function<ProfileRequestContext,Long> proxyCountLookupStrategy
proxyCount property.private long proxyCount
@Nullable private com.google.common.base.Function<ProfileRequestContext,Collection<String>> proxyAudiencesLookupStrategy
proxyAudiences property.@Nonnull @NonnullElements private Collection<String> proxyAudiences
public long getProxyCount()
getProxyCount in interface SAML2ProfileConfigurationpublic void setProxyCount(@NonNegative long count)
count - maximum number of times an assertion may be proxiedpublic void setProxyCountLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Long> strategy)
proxyCount property.strategy - lookup strategypublic Collection<String> getProxyAudiences()
getProxyAudiences in interface SAML2ProfileConfigurationpublic void setProxyAudiences(@Nullable@NonnullElements Collection<String> audiences)
audiences - proxy audiences to be added to responsespublic void setProxyAudiencesLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
proxyAudiences property.strategy - lookup strategypublic 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<ProfileRequestContext> getEncryptionOptionalPredicate()
public void setEncryptionOptionalPredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - condition to set@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getEncryptAssertions()
getEncryptAssertions in interface SAML2ProfileConfigurationpublic void setEncryptAssertions(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if assertions should be encrypted@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getEncryptNameIDs()
getEncryptNameIDs in interface SAML2ProfileConfigurationpublic void setEncryptNameIDs(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if name identifiers should be encrypted@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getEncryptAttributes()
getEncryptAttributes in interface SAML2ProfileConfigurationpublic void setEncryptAttributes(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if attributes should be encryptedCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.