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 long |
assertionLifetime
Lifetime of an assertion in milliseconds.
|
private boolean |
includeConditionsNotBefore
Whether to include a NotBefore attribute in the Conditions of generated assertions.
|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
signAssertionsPredicate
Predicate used to determine if the generated assertion should be signed.
|
private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
signedRequestsPredicate
Predicate used to determine if the received request should be signed.
|
private com.google.common.base.Predicate<org.opensaml.profile.context.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.
|
com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
getSignAssertions()
Get the predicate used to determine if generated assertions should be signed.
|
com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> |
getSignRequests()
Get the predicate used to determine if generated requests should be signed.
|
com.google.common.base.Predicate<org.opensaml.profile.context.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)
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 |
setAssertionLifetime(long lifetime)
Set the lifetime of an assertion.
|
void |
setIncludeConditionsNotBefore(boolean include)
Set whether to include a NotBefore attribute in the Conditions of generated assertions.
|
void |
setSignAssertions(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if generated assertions should be signed.
|
void |
setSignRequests(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if generated requests should be signed.
|
void |
setSignResponses(com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
Set the predicate used to determine if generated responses should be signed.
|
equals, getId, getInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration, hashCode, setInboundInterceptorFlows, setOutboundInterceptorFlows, setSecurityConfigurationclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfiguration@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> signedRequestsPredicate
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> signResponsesPredicate
@Nonnull private com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> signAssertionsPredicate
@Positive @Duration private long assertionLifetime
private boolean includeConditionsNotBefore
@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getSignAssertions()
getSignAssertions in interface SAMLProfileConfigurationpublic void setSignAssertions(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if generated assertions should be signed@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getSignRequests()
getSignRequests in interface SAMLProfileConfigurationpublic void setSignRequests(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if generated requests should be signed@Nonnull public com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> getSignResponses()
getSignResponses in interface SAMLProfileConfigurationpublic void setSignResponses(@Nonnull com.google.common.base.Predicate<org.opensaml.profile.context.ProfileRequestContext> predicate)
predicate - predicate used to determine if generated responses should be signed@Positive public long getAssertionLifetime()
getAssertionLifetime in interface SAMLProfileConfigurationpublic void setAssertionLifetime(@Positive@Duration
long lifetime)
lifetime - lifetime of an assertion in millisecondspublic boolean includeConditionsNotBefore()
includeConditionsNotBefore in interface SAMLProfileConfigurationpublic void setIncludeConditionsNotBefore(boolean include)
include - whether to include a NotBefore attribute in the Conditions of generated assertions@Nonnull @NonnullElements @NotLive public Set<String> getAdditionalAudiencesForAssertion()
getAdditionalAudiencesForAssertion in interface SAMLProfileConfigurationpublic void setAdditionalAudienceForAssertion(@Nonnull@NonnullElements Collection<String> audiences)
audiences - the additional audiencesCopyright © 1999–2015. All rights reserved.