public abstract class AbstractSAMLProfileConfiguration extends AbstractConditionalProfileConfiguration implements SAMLProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
assertionAudiences
Additional audiences to which an assertion may be released.
|
private com.google.common.base.Function<ProfileRequestContext,Collection<String>> |
assertionAudiencesLookupStrategy
Lookup function to supply
assertionAudiences property. |
private long |
assertionLifetime
Lifetime of an assertion in milliseconds.
|
private com.google.common.base.Function<ProfileRequestContext,Long> |
assertionLifetimeLookupStrategy
Lookup function to supply
assertionLifetime property. |
private com.google.common.base.Predicate<ProfileRequestContext> |
includeNotBeforePredicate
Controls whether to include a NotBefore attribute in the Conditions of generated assertions.
|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
signAssertionsPredicate
Predicate used to determine if the generated assertion should be signed.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
signRequestsPredicate
Predicate used to determine if the generated request should be signed.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
signResponsesPredicate
Predicate used to determine if the generated response should be signed.
|
| Constructor and Description |
|---|
AbstractSAMLProfileConfiguration(String profileId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAdditionalAudiencesForAssertion()
Get an unmodifiable set of audiences, in addition to the relying party(ies) to which the IdP is issuing the
assertion, with which an assertion may be shared.
|
long |
getAssertionLifetime()
Get the lifetime of generated assertions in milliseconds.
|
List<String> |
getInboundInterceptorFlows() |
com.google.common.base.Predicate<ProfileRequestContext> |
getIncludeConditionsNotBeforePredicate()
Get a condition to determine whether to include a NotBefore attribute in the Conditions of
generated assertions.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getSignAssertions()
Get the predicate used to determine if generated assertions should be signed.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getSignRequests()
Get the predicate used to determine if generated requests should be signed.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getSignResponses()
Get the predicate used to determine if generated responses should be signed.
|
boolean |
includeConditionsNotBefore()
Get whether to include a NotBefore attribute in the Conditions of generated assertions.
|
void |
setAdditionalAudienceForAssertion(Collection<String> audiences)
Deprecated.
|
void |
setAdditionalAudiencesForAssertion(Collection<String> audiences)
Set the set of audiences, in addition to the relying party(ies) to which the IdP is issuing the assertion, with
which an assertion may be shared.
|
void |
setAssertionAudiencesLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
Set a lookup strategy for the
assertionAudiences property. |
void |
setAssertionLifetime(long lifetime)
Set the lifetime of an assertion.
|
void |
setAssertionLifetimeLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Long> strategy)
Set a lookup strategy for the
assertionLifetime property. |
void |
setIncludeConditionsNotBefore(boolean include)
Set whether to include a NotBefore attribute in the Conditions of generated assertions.
|
void |
setIncludeConditionsNotBeforePredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set a condition to determine whether to include a NotBefore attribute in the Conditions of
generated assertions.
|
void |
setSignAssertions(com.google.common.base.Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated assertions should be signed.
|
void |
setSignRequests(com.google.common.base.Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated requests should be signed.
|
void |
setSignResponses(com.google.common.base.Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated responses should be signed.
|
getActivationCondition, 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 final org.slf4j.Logger log
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> signRequestsPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> signResponsesPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> signAssertionsPredicate
@Nullable private com.google.common.base.Predicate<ProfileRequestContext> includeNotBeforePredicate
@Nullable private com.google.common.base.Function<ProfileRequestContext,Long> assertionLifetimeLookupStrategy
assertionLifetime property.@Positive @Duration private long assertionLifetime
@Nullable private com.google.common.base.Function<ProfileRequestContext,Collection<String>> assertionAudiencesLookupStrategy
assertionAudiences property.@Nonnull @NonnullElements private Set<String> assertionAudiences
@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getInboundInterceptorFlows()
getInboundInterceptorFlows in interface ProfileConfigurationgetInboundInterceptorFlows in class AbstractProfileConfiguration@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getSignAssertions()
getSignAssertions in interface SAMLProfileConfigurationpublic void setSignAssertions(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if generated assertions should be signed@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getSignRequests()
getSignRequests in interface SAMLProfileConfigurationpublic void setSignRequests(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if generated requests should be signed@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getSignResponses()
getSignResponses in interface SAMLProfileConfigurationpublic void setSignResponses(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if generated responses should be signed@Positive @Duration public long getAssertionLifetime()
getAssertionLifetime in interface SAMLProfileConfiguration@Duration public void setAssertionLifetime(@Positive@Duration long lifetime)
lifetime - lifetime of an assertion in millisecondspublic void setAssertionLifetimeLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Long> strategy)
assertionLifetime property.strategy - lookup strategypublic boolean includeConditionsNotBefore()
includeConditionsNotBefore in interface SAMLProfileConfigurationpublic void setIncludeConditionsNotBefore(boolean include)
include - whether to include a NotBefore attribute in the Conditions of generated assertions@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getIncludeConditionsNotBeforePredicate()
public void setIncludeConditionsNotBeforePredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - lookup strategy@Nonnull @NonnullElements @NotLive public Set<String> getAdditionalAudiencesForAssertion()
getAdditionalAudiencesForAssertion in interface SAMLProfileConfiguration@Deprecated public void setAdditionalAudienceForAssertion(@Nonnull@NonnullElements Collection<String> audiences)
audiences - the additional audiencespublic void setAdditionalAudiencesForAssertion(@Nullable@NonnullElements Collection<String> audiences)
audiences - the additional audiencespublic void setAssertionAudiencesLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
assertionAudiences property.strategy - lookup strategyCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.