public abstract class AbstractSAMLProfileConfiguration extends AbstractProfileConfiguration implements SAMLProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
assertionAudiences
Additional audiences to which an assertion may be released.
|
private Function<ProfileRequestContext,Collection<String>> |
assertionAudiencesLookupStrategy
Lookup function to supply
assertionAudiences property. |
private long |
assertionLifetime
Lifetime of an assertion in milliseconds.
|
private Function<ProfileRequestContext,Long> |
assertionLifetimeLookupStrategy
Lookup function to supply
assertionLifetime property. |
private Predicate<ProfileRequestContext> |
includeNotBeforePredicate
Controls whether to include a NotBefore attribute in the Conditions of generated assertions.
|
private Predicate<ProfileRequestContext> |
signAssertionsPredicate
Predicate used to determine if the generated assertion should be signed.
|
private Predicate<ProfileRequestContext> |
signRequestsPredicate
Predicate used to determine if the generated request should be signed.
|
private 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.
|
Predicate<ProfileRequestContext> |
getIncludeConditionsNotBeforePredicate()
Get a condition to determine whether to include a NotBefore attribute in the Conditions of
generated assertions.
|
Predicate<ProfileRequestContext> |
getSignAssertions()
Get the predicate used to determine if generated assertions should be signed.
|
Predicate<ProfileRequestContext> |
getSignRequests()
Get the predicate used to determine if generated requests should be signed.
|
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(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(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(Predicate<ProfileRequestContext> condition)
Set a condition to determine whether to include a NotBefore attribute in the Conditions of
generated assertions.
|
void |
setSignAssertions(Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated assertions should be signed.
|
void |
setSignRequests(Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated requests should be signed.
|
void |
setSignResponses(Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if generated responses should be signed.
|
equals, getDisallowedFeatures, getId, getInboundInterceptorFlows, getIndirectProperty, getOutboundInterceptorFlows, getProfileRequestContext, getSecurityConfiguration, hashCode, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setInboundFlowsLookupStrategy, setInboundInterceptorFlows, setOutboundFlowsLookupStrategy, setOutboundInterceptorFlows, setSecurityConfiguration, setSecurityConfigurationLookupStrategy, setServletRequestclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfigurationgetId@Nonnull private Predicate<ProfileRequestContext> signRequestsPredicate
@Nonnull private Predicate<ProfileRequestContext> signResponsesPredicate
@Nonnull private Predicate<ProfileRequestContext> signAssertionsPredicate
@Nullable private Predicate<ProfileRequestContext> includeNotBeforePredicate
@Nullable private Function<ProfileRequestContext,Long> assertionLifetimeLookupStrategy
assertionLifetime property.@Positive @Duration private long assertionLifetime
@Nullable private Function<ProfileRequestContext,Collection<String>> assertionAudiencesLookupStrategy
assertionAudiences property.@Nonnull @NonnullElements private Set<String> assertionAudiences
@Nonnull public Predicate<ProfileRequestContext> getSignAssertions()
getSignAssertions in interface SAMLProfileConfigurationpublic void setSignAssertions(@Nonnull Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if generated assertions should be signed@Nonnull public Predicate<ProfileRequestContext> getSignRequests()
getSignRequests in interface SAMLProfileConfigurationpublic void setSignRequests(@Nonnull Predicate<ProfileRequestContext> predicate)
predicate - predicate used to determine if generated requests should be signed@Nonnull public Predicate<ProfileRequestContext> getSignResponses()
getSignResponses in interface SAMLProfileConfigurationpublic void setSignResponses(@Nonnull 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 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 Predicate<ProfileRequestContext> getIncludeConditionsNotBeforePredicate()
public void setIncludeConditionsNotBeforePredicate(@Nullable 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 Function<ProfileRequestContext,Collection<String>> strategy)
assertionAudiences property.strategy - lookup strategyCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.