public class BrowserSSOProfileConfiguration extends AbstractSAML2ArtifactAwareProfileConfiguration implements AuthenticationProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Predicate<ProfileRequestContext> |
allowDelegationPredicate
The predicate used to determine if produced assertions may be delegated.
|
private Set<String> |
authenticationFlows
Filters the usable authentication flows.
|
private com.google.common.base.Function<ProfileRequestContext,Set<String>> |
authenticationFlowsLookupStrategy
Lookup function to supply
authenticationFlows property. |
private List<AuthnContextClassRefPrincipal> |
defaultAuthenticationContexts
Selects, and limits, the authentication contexts to use for requests.
|
private com.google.common.base.Function<ProfileRequestContext,Collection<AuthnContextClassRefPrincipal>> |
defaultAuthenticationContextsLookupStrategy
Lookup function to supply
defaultAuthenticationContexts property. |
static int |
FEATURE_AUTHNCONTEXT
Bit constant for RequestedAuthnContext feature.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
forceAuthnPredicate
Whether to mandate forced authentication for the request.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
includeAttributeStatementPredicate
Whether responses to the authentication request should include an attribute statement.
|
private long |
maximumSPSessionLifetime
The maximum amount of time, in milliseconds, the service provider should maintain a session for the user.
|
private com.google.common.base.Function<ProfileRequestContext,Long> |
maximumSPSessionLifetimeLookupStrategy
Lookup function to supply
maximumSPSessionLifetime property. |
private long |
maximumTokenDelegationChainLength
Limits the total number of delegates that may be derived from the initial SAML token.
|
private com.google.common.base.Function<ProfileRequestContext,Long> |
maximumTokenDelegationChainLengthLookupStrategy
Lookup function to supply
maximumTokenDelegationChainLength property. |
private List<String> |
nameIDFormatPrecedence
Precedence of name identifier formats to use for requests.
|
private com.google.common.base.Function<ProfileRequestContext,Collection<String>> |
nameIDFormatPrecedenceLookupStrategy
Lookup function to supply
nameIDFormatPrecedence property. |
private List<String> |
postAuthenticationFlows
Enables post-authentication interceptor flows.
|
private com.google.common.base.Function<ProfileRequestContext,Collection<String>> |
postAuthenticationFlowsLookupStrategy
Lookup function to supply
postAuthenticationFlows property. |
static String |
PROFILE_ID
ID for this profile configuration.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
resolveAttributesPredicate
Whether attributes should be resolved in the course of the profile.
|
private com.google.common.base.Predicate<ProfileRequestContext> |
skipEndpointValidationWhenSignedPredicate
Whether the response endpoint should be validated if the request is signed.
|
| Modifier | Constructor and Description |
|---|---|
|
BrowserSSOProfileConfiguration()
Constructor.
|
protected |
BrowserSSOProfileConfiguration(String profileId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Predicate<ProfileRequestContext> |
getAllowDelegation()
Get the predicate used to determine if produced assertions may be delegated.
|
Boolean |
getAllowingDelegation()
Deprecated.
use instead
getAllowDelegation() predicate |
Set<String> |
getAuthenticationFlows() |
List<Principal> |
getDefaultAuthenticationMethods() |
com.google.common.base.Predicate<ProfileRequestContext> |
getForceAuthnPredicate()
Get a condition to determine whether a fresh user presence proof should be required for this request.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getIncludeAttributeStatementPredicate()
Get a condition to determine whether responses to the authentication request should include an
attribute statement.
|
long |
getMaximumSPSessionLifetime()
Get the maximum amount of time, in milliseconds, the service provider should maintain a session for the user
based on the authentication assertion.
|
long |
getMaximumTokenDelegationChainLength()
Get the limits on the total number of delegates that may be derived from the initial SAML token.
|
List<String> |
getNameIDFormatPrecedence() |
List<String> |
getPostAuthenticationFlows() |
com.google.common.base.Predicate<ProfileRequestContext> |
getResolveAttributesPredicate()
Get a condition to determine whether attributes should be resolved during the profile.
|
com.google.common.base.Predicate<ProfileRequestContext> |
getSkipEndpointValidationWhenSignedPredicate()
Get condition to determine whether the response endpoint should be validated if the request is signed.
|
boolean |
includeAttributeStatement()
Deprecated.
Use
getIncludeAttributeStatementPredicate() instead. |
boolean |
isAllowingDelegation()
Get whether produced assertions may be delegated.
|
boolean |
resolveAttributes()
Deprecated.
Use
getResolveAttributesPredicate() instead. |
void |
setAllowDelegation(com.google.common.base.Predicate<ProfileRequestContext> predicate)
Set the predicate used to determine if produced assertions may be delegated.
|
void |
setAllowingDelegation(Boolean isAllowed)
Deprecated.
|
void |
setAuthenticationFlows(Collection<String> flows)
Set the authentication flows to use.
|
void |
setAuthenticationFlowsLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Set<String>> strategy)
Set a lookup strategy for the
authenticationFlows property. |
void |
setDefaultAuthenticationMethods(Collection<AuthnContextClassRefPrincipal> contexts)
Set the default authentication contexts to use, expressed as custom principals.
|
void |
setDefaultAuthenticationMethodsLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Collection<AuthnContextClassRefPrincipal>> strategy)
Set a lookup strategy for the
defaultAuthenticationMethods property. |
void |
setForceAuthn(boolean flag)
Set whether a fresh user presence proof should be required for this request.
|
void |
setForceAuthnPredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set a condition to determine whether a fresh user presence proof should be required for this request.
|
void |
setIncludeAttributeStatement(boolean include)
Set whether responses to the authentication request should include an attribute statement.
|
void |
setIncludeAttributeStatementPredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set a condition to determine whether responses to the authentication request should include an
attribute statement.
|
void |
setMaximumSPSessionLifetime(long lifetime)
Set the maximum amount of time, in milliseconds, the service provider should maintain a session for the user
based on the authentication assertion.
|
void |
setMaximumSPSessionLifetimeLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Long> strategy)
Set a lookup strategy for the
maximumSPSessionLifetime property. |
void |
setMaximumTokenDelegationChainLength(long length)
Set the limits on the total number of delegates that may be derived from the initial SAML token.
|
void |
setMaximumTokenDelegationChainLengthLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Long> strategy)
Set a lookup strategy for the
maximumTokenDelegationChainLength property. |
void |
setNameIDFormatPrecedence(Collection<String> formats)
Set the name identifier formats to use.
|
void |
setNameIDFormatPrecedenceLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
Set a lookup strategy for the
nameIDFormatPrecedence property. |
void |
setPostAuthenticationFlows(Collection<String> flows)
Set the ordered collection of post-authentication interceptor flows to enable.
|
void |
setPostAuthenticationFlowsLookupStrategy(com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
Set a lookup strategy for the
postAuthenticationFlows property. |
void |
setResolveAttributes(boolean flag)
Set whether attributes should be resolved during the profile.
|
void |
setResolveAttributesPredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set a condition to determine whether attributes should be resolved during the profile.
|
void |
setSkipEndpointValidationWhenSigned(boolean skip)
Set whether the response endpoint should be validated if the request is signed.
|
void |
setSkipEndpointValidationWhenSignedPredicate(com.google.common.base.Predicate<ProfileRequestContext> condition)
Set condition to determine whether the response endpoint should be validated if the request is signed.
|
boolean |
skipEndpointValidationWhenSigned()
Deprecated.
Use
getSkipEndpointValidationWhenSignedPredicate() instead. |
getArtifactConfiguration, getClientTLSArtifactRequests, getSignArtifactRequests, setArtifactConfiguration, setArtifactConfigurationLookupStrategy, setClientTLSArtifactRequests, setSignArtifactRequestsgetEncryptAssertions, getEncryptAttributes, getEncryptionOptionalPredicate, getEncryptNameIDs, getProxyAudiences, getProxyCount, isEncryptionOptional, setEncryptAssertions, setEncryptAttributes, setEncryptionOptional, setEncryptionOptionalPredicate, setEncryptNameIDs, setProxyAudiences, setProxyAudiencesLookupStrategy, setProxyCount, setProxyCountLookupStrategygetAdditionalAudiencesForAssertion, 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, waitgetInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfigurationgetIdgetAdditionalAudiencesForAssertion, getAssertionLifetime, getSignAssertions, getSignRequests, getSignResponses, includeConditionsNotBeforepublic static final String PROFILE_ID
public static final int FEATURE_AUTHNCONTEXT
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> resolveAttributesPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> includeAttributeStatementPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> forceAuthnPredicate
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> skipEndpointValidationWhenSignedPredicate
@Nullable private com.google.common.base.Function<ProfileRequestContext,Long> maximumSPSessionLifetimeLookupStrategy
maximumSPSessionLifetime property.@Duration @NonNegative private long maximumSPSessionLifetime
@Nonnull private com.google.common.base.Predicate<ProfileRequestContext> allowDelegationPredicate
@Nullable private com.google.common.base.Function<ProfileRequestContext,Long> maximumTokenDelegationChainLengthLookupStrategy
maximumTokenDelegationChainLength property.@NonNegative private long maximumTokenDelegationChainLength
@Nullable private com.google.common.base.Function<ProfileRequestContext,Collection<AuthnContextClassRefPrincipal>> defaultAuthenticationContextsLookupStrategy
defaultAuthenticationContexts property.@Nonnull @NonnullElements private List<AuthnContextClassRefPrincipal> defaultAuthenticationContexts
@Nullable private com.google.common.base.Function<ProfileRequestContext,Set<String>> authenticationFlowsLookupStrategy
authenticationFlows property.@Nonnull @NonnullElements private Set<String> authenticationFlows
@Nullable private com.google.common.base.Function<ProfileRequestContext,Collection<String>> postAuthenticationFlowsLookupStrategy
postAuthenticationFlows property.@Nonnull @NonnullElements private List<String> postAuthenticationFlows
@Nullable private com.google.common.base.Function<ProfileRequestContext,Collection<String>> nameIDFormatPrecedenceLookupStrategy
nameIDFormatPrecedence property.@Nonnull @NonnullElements private List<String> nameIDFormatPrecedence
public BrowserSSOProfileConfiguration()
@Deprecated public boolean resolveAttributes()
getResolveAttributesPredicate() instead.Default is true
public void setResolveAttributes(boolean flag)
flag - flag to set@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getResolveAttributesPredicate()
public void setResolveAttributesPredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - condition to set@Deprecated public boolean includeAttributeStatement()
getIncludeAttributeStatementPredicate() instead.Default is true
public void setIncludeAttributeStatement(boolean include)
include - flag to set@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getIncludeAttributeStatementPredicate()
public void setIncludeAttributeStatementPredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - condition to set@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getForceAuthnPredicate()
public void setForceAuthnPredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - condition to setpublic void setForceAuthn(boolean flag)
flag - flag to set@Deprecated public boolean skipEndpointValidationWhenSigned()
getSkipEndpointValidationWhenSignedPredicate() instead.public void setSkipEndpointValidationWhenSigned(boolean skip)
skip - whether the response endpoint should be validated if the request is signed@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getSkipEndpointValidationWhenSignedPredicate()
public void setSkipEndpointValidationWhenSignedPredicate(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> condition)
condition - condition to set@NonNegative @Duration public long getMaximumSPSessionLifetime()
@Duration public void setMaximumSPSessionLifetime(@Duration@NonNegative long lifetime)
lifetime - max lifetime of service provider should maintain a sessionpublic void setMaximumSPSessionLifetimeLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Long> strategy)
maximumSPSessionLifetime property.strategy - lookup strategy@Deprecated public Boolean getAllowingDelegation()
getAllowDelegation() predicateBoolean. May be null.@Deprecated public void setAllowingDelegation(Boolean isAllowed)
isAllowed - whether produced assertions may be delegatedpublic boolean isAllowingDelegation()
@Nonnull public com.google.common.base.Predicate<ProfileRequestContext> getAllowDelegation()
public void setAllowDelegation(@Nonnull com.google.common.base.Predicate<ProfileRequestContext> predicate)
predicate - used to determine if produced assertions may be delegated@NonNegative public long getMaximumTokenDelegationChainLength()
public void setMaximumTokenDelegationChainLength(@NonNegative long length)
length - the limit on the total number of delegates that may be derived from the initial SAML tokenpublic void setMaximumTokenDelegationChainLengthLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Long> strategy)
maximumTokenDelegationChainLength property.strategy - lookup strategy@Nonnull @NonnullElements @NotLive @Unmodifiable public List<Principal> getDefaultAuthenticationMethods()
getDefaultAuthenticationMethods in interface AuthenticationProfileConfigurationpublic void setDefaultAuthenticationMethods(@Nullable@NonnullElements Collection<AuthnContextClassRefPrincipal> contexts)
contexts - default authentication contexts to usepublic void setDefaultAuthenticationMethodsLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Collection<AuthnContextClassRefPrincipal>> strategy)
defaultAuthenticationMethods property.strategy - lookup strategy@Nonnull @NonnullElements @NotLive @Unmodifiable public Set<String> getAuthenticationFlows()
getAuthenticationFlows in interface AuthenticationProfileConfigurationpublic void setAuthenticationFlows(@Nullable@NonnullElements Collection<String> flows)
flows - flow identifiers to usepublic void setAuthenticationFlowsLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Set<String>> strategy)
authenticationFlows property.strategy - lookup strategy@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getPostAuthenticationFlows()
getPostAuthenticationFlows in interface AuthenticationProfileConfigurationpublic void setPostAuthenticationFlows(@Nullable@NonnullElements Collection<String> flows)
flows - flow identifiers to enablepublic void setPostAuthenticationFlowsLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
postAuthenticationFlows property.strategy - lookup strategy@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getNameIDFormatPrecedence()
getNameIDFormatPrecedence in interface AuthenticationProfileConfigurationpublic void setNameIDFormatPrecedence(@Nonnull@NonnullElements Collection<String> formats)
formats - name identifier formats to usepublic void setNameIDFormatPrecedenceLookupStrategy(@Nullable com.google.common.base.Function<ProfileRequestContext,Collection<String>> strategy)
nameIDFormatPrecedence property.strategy - lookup strategyCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.