public class BrowserSSOProfileConfiguration extends AbstractSAMLProfileConfiguration implements SAML1ProfileConfiguration, SAMLArtifactAwareProfileConfiguration, AuthenticationProfileConfiguration
| Modifier | Constructor and Description |
|---|---|
|
BrowserSSOProfileConfiguration()
Constructor.
|
protected |
BrowserSSOProfileConfiguration(String profileId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SAMLArtifactConfiguration |
getArtifactConfiguration()
Get the associated
SAMLArtifactConfiguration for the profile, if any. |
Set<String> |
getAuthenticationFlows() |
List<Principal> |
getDefaultAuthenticationMethods() |
Predicate<ProfileRequestContext> |
getIncludeAttributeStatementPredicate()
Get a condition to determine whether responses to the authentication request should include an
attribute statement.
|
List<String> |
getNameIDFormatPrecedence() |
List<String> |
getPostAuthenticationFlows() |
Predicate<ProfileRequestContext> |
getResolveAttributesPredicate()
Get a condition to determine whether attributes should be resolved during the profile.
|
boolean |
includeAttributeStatement()
Deprecated.
Use
getIncludeAttributeStatementPredicate() instead. |
boolean |
resolveAttributes()
Deprecated.
Use
getResolveAttributesPredicate() instead. |
void |
setArtifactConfiguration(SAMLArtifactConfiguration config)
Set the SAML artifact configuration, if any.
|
void |
setArtifactConfigurationLookupStrategy(Function<ProfileRequestContext,SAMLArtifactConfiguration> strategy)
Set a lookup strategy for the
artifactConfig property. |
void |
setAuthenticationFlows(Collection<String> flows)
Set the authentication flows to use.
|
void |
setAuthenticationFlowsLookupStrategy(Function<ProfileRequestContext,Set<String>> strategy)
Set a lookup strategy for the
authenticationFlows property. |
void |
setDefaultAuthenticationMethods(Collection<AuthenticationMethodPrincipal> methods)
Set the default authentication methods to use, expressed as custom principals.
|
void |
setDefaultAuthenticationMethodsLookupStrategy(Function<ProfileRequestContext,Collection<AuthenticationMethodPrincipal>> strategy)
Set a lookup strategy for the
defaultAuthenticationMethods property. |
void |
setIncludeAttributeStatement(boolean include)
Set whether responses to the authentication request should include an attribute statement.
|
void |
setIncludeAttributeStatementPredicate(Predicate<ProfileRequestContext> condition)
Set a condition to determine whether responses to the authentication request should include an
attribute statement.
|
void |
setNameIDFormatPrecedence(Collection<String> formats)
Set the name identifier formats to use.
|
void |
setNameIDFormatPrecedenceLookupStrategy(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(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(Predicate<ProfileRequestContext> condition)
Set a condition to determine whether attributes should be resolved during the profile.
|
getAdditionalAudiencesForAssertion, getAssertionLifetime, getIncludeConditionsNotBeforePredicate, getSignAssertions, getSignRequests, getSignResponses, includeConditionsNotBefore, setAdditionalAudienceForAssertion, setAdditionalAudiencesForAssertion, setAssertionAudiencesLookupStrategy, setAssertionLifetime, setAssertionLifetimeLookupStrategy, setIncludeConditionsNotBefore, setIncludeConditionsNotBeforePredicate, setSignAssertions, setSignRequests, setSignResponsesequals, 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, waitgetAdditionalAudiencesForAssertion, getAssertionLifetime, getSignAssertions, getSignRequests, getSignResponses, includeConditionsNotBeforegetInboundInterceptorFlows, getOutboundInterceptorFlows, getSecurityConfigurationgetIdpublic static final String PROFILE_ID
@Nullable private Function<ProfileRequestContext,SAMLArtifactConfiguration> artifactConfigurationLookupStrategy
artifactConfig property.@Nullable private SAMLArtifactConfiguration artifactConfig
@Nonnull private Predicate<ProfileRequestContext> resolveAttributesPredicate
@Nonnull private Predicate<ProfileRequestContext> includeAttributeStatementPredicate
@Nullable private Function<ProfileRequestContext,Collection<AuthenticationMethodPrincipal>> defaultAuthenticationMethodsLookupStrategy
defaultAuthenticationMethods property.@Nonnull @NonnullElements private List<AuthenticationMethodPrincipal> defaultAuthenticationMethods
@Nullable private Function<ProfileRequestContext,Set<String>> authenticationFlowsLookupStrategy
authenticationFlows property.@Nonnull @NonnullElements private Set<String> authenticationFlows
@Nullable private Function<ProfileRequestContext,Collection<String>> postAuthenticationFlowsLookupStrategy
postAuthenticationFlows property.@Nonnull @NonnullElements private List<String> postAuthenticationFlows
@Nullable private Function<ProfileRequestContext,Collection<String>> nameIDFormatPrecedenceLookupStrategy
nameIDFormatPrecedence property.@Nonnull @NonnullElements private List<String> nameIDFormatPrecedence
public BrowserSSOProfileConfiguration()
@Nullable public SAMLArtifactConfiguration getArtifactConfiguration()
SAMLArtifactConfiguration for the profile, if any.getArtifactConfiguration in interface SAMLArtifactAwareProfileConfigurationpublic void setArtifactConfiguration(@Nullable SAMLArtifactConfiguration config)
config - configuration to setpublic void setArtifactConfigurationLookupStrategy(@Nullable Function<ProfileRequestContext,SAMLArtifactConfiguration> strategy)
artifactConfig property.strategy - lookup strategypublic boolean resolveAttributes()
getResolveAttributesPredicate() instead.Default is true
public void setResolveAttributes(boolean flag)
flag - flag to set@Nonnull public Predicate<ProfileRequestContext> getResolveAttributesPredicate()
public void setResolveAttributesPredicate(@Nonnull Predicate<ProfileRequestContext> condition)
condition - condition to setpublic boolean includeAttributeStatement()
getIncludeAttributeStatementPredicate() instead.Default is true
public void setIncludeAttributeStatement(boolean include)
include - flag to set@Nonnull public Predicate<ProfileRequestContext> getIncludeAttributeStatementPredicate()
public void setIncludeAttributeStatementPredicate(@Nonnull Predicate<ProfileRequestContext> condition)
condition - condition to set@Nonnull @NonnullElements @NotLive @Unmodifiable public List<Principal> getDefaultAuthenticationMethods()
getDefaultAuthenticationMethods in interface AuthenticationProfileConfigurationpublic void setDefaultAuthenticationMethods(@Nullable@NonnullElements Collection<AuthenticationMethodPrincipal> methods)
methods - default authentication methods to usepublic void setDefaultAuthenticationMethodsLookupStrategy(@Nullable Function<ProfileRequestContext,Collection<AuthenticationMethodPrincipal>> 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 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 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 Function<ProfileRequestContext,Collection<String>> strategy)
nameIDFormatPrecedence property.strategy - lookup strategyCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.