public class BasicAdministrativeFlowDescriptor extends AbstractProfileConfiguration implements AdministrativeFlowDescriptor
Administrative flows are essentially any feature intrinsic to the IdP itself and generally not exposed to external systems using security mechanisms that would involve the more traditional "relying party" machinery and security models. Examples include status reporting and service management features, or user self-service features.
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicAdministrativeFlowDescriptor.Logo
A wrapper class to construct logo objects for exposure by
UIInfo interface. |
| Modifier and Type | Field and Description |
|---|---|
private Predicate<org.opensaml.profile.context.ProfileRequestContext> |
authenticatedPredicate
Whether user authentication is required.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,Set<String>> |
authenticationFlowsLookupStrategy
Filters the usable authentication flows.
|
private org.opensaml.core.xml.XMLObjectBuilderFactory |
builderFactory
Builder factory for XMLObjects needed in UIInfo emulation.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,Collection<Principal>> |
defaultAuthenticationMethodsLookupStrategy
Selects, and limits, the authentication flows to use for requests by supported principals.
|
private String |
loggingId
Logging ID.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,String> |
policyNameLookupStrategy
Lookup strategy for access control policy to apply.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,Collection<String>> |
postAuthenticationFlowsLookupStrategy
Enables post-authentication interceptor flows.
|
private Predicate<org.opensaml.profile.context.ProfileRequestContext> |
resolveAttributesPredicate
Whether attributes should be resolved in the course of the flow.
|
private Predicate<org.opensaml.profile.context.ProfileRequestContext> |
supportsNonBrowserPredicate
Whether this flow supports non-browser clients.
|
private org.opensaml.saml.ext.saml2mdui.UIInfo |
uiInfo
Expose user interface details.
|
| Constructor and Description |
|---|
BasicAdministrativeFlowDescriptor(String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<String> |
getAuthenticationFlows() |
List<Principal> |
getDefaultAuthenticationMethods() |
List<String> |
getInboundInterceptorFlows() |
String |
getLoggingId()
Get a logging ID to use when auditing this profile.
|
List<String> |
getNameIDFormatPrecedence() |
List<String> |
getOutboundInterceptorFlows() |
String |
getPolicyName()
Get the access control policy for this flow.
|
List<String> |
getPostAuthenticationFlows() |
SecurityConfiguration |
getSecurityConfiguration() |
org.opensaml.saml.ext.saml2mdui.UIInfo |
getUIInfo()
Get the user interface details for this profile.
|
int |
hashCode() |
boolean |
isAuthenticated()
Get whether user authentication is required (default is false).
|
boolean |
isNonBrowserSupported()
Get whether this flow supports non-browser clients (default is true).
|
boolean |
resolveAttributes()
Get whether to resolve attributes during the profile (default is false).
|
void |
setAuthenticated(boolean flag)
Set whether user authentication is required (default is false).
|
void |
setAuthenticatedPredicate(Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
Set condition to determine whether user authentication is required (default is false).
|
void |
setAuthenticationFlows(Collection<String> flows)
Set the authentication flows to use.
|
void |
setAuthenticationFlowsLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,Set<String>> strategy)
Set a lookup strategy for the authentication flows to use.
|
void |
setDefaultAuthenticationMethods(Collection<Principal> methods)
Set the default authentication methods to use, expressed as custom principals.
|
void |
setDefaultAuthenticationMethodsLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,Collection<Principal>> strategy)
Set a lookup strategy for the authentication methods to use, expressed as custom principals.
|
void |
setDescriptions(Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> descriptions)
Set the
Description objects to expose via getUIInfo() via a utility class. |
void |
setDisplayNames(Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> displayNames)
Set the
DisplayName objects to expose via getUIInfo() via a utility class. |
void |
setInformationURLs(Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> urls)
Set the
InformationURL objects to expose via getUIInfo() via a utility class. |
void |
setLoggingId(String id)
Set a logging ID to use when auditing this profile.
|
void |
setLogos(Collection<BasicAdministrativeFlowDescriptor.Logo> logos)
Set the
Logo objects to expose via getUIInfo() via a
utility class. |
void |
setNonBrowserSupported(boolean isSupported)
Set whether this flow supports non-browser clients (default is true).
|
void |
setNonBrowserSupportedPredicate(Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
Set condition to determine whether this flow supports non-browser clients.
|
void |
setPolicyName(String name)
Set an explicit access control policy name to apply.
|
void |
setPolicyNameLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
Set a lookup strategy to use to obtain the access control policy for this flow.
|
void |
setPostAuthenticationFlows(Collection<String> flows)
Set the ordered collection of post-authentication interceptor flows to enable.
|
void |
setPostAuthenticationFlowsLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,Collection<String>> strategy)
Set a lookup strategy for the post-authentication interceptor flows to enable.
|
void |
setPrivacyStatementURLs(Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> urls)
Set the
PrivacyStatementURL objects to expose via getUIInfo() via a utility class. |
void |
setResolveAttributes(boolean flag)
Set whether attributes should be resolved during the profile.
|
void |
setResolveAttributesPredicate(Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
Set a condition to determine whether attributes should be resolved during the profile.
|
String |
toString() |
getDisallowedFeatures, getId, getIndirectProperty, getProfileRequestContext, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setInboundFlowsLookupStrategy, setInboundInterceptorFlows, setOutboundFlowsLookupStrategy, setOutboundInterceptorFlows, setSecurityConfiguration, setSecurityConfigurationLookupStrategy, setServletRequestprivate Predicate<org.opensaml.profile.context.ProfileRequestContext> supportsNonBrowserPredicate
private Predicate<org.opensaml.profile.context.ProfileRequestContext> authenticatedPredicate
@Nonnull private final org.opensaml.saml.ext.saml2mdui.UIInfo uiInfo
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,String> policyNameLookupStrategy
@Nonnull private Predicate<org.opensaml.profile.context.ProfileRequestContext> resolveAttributesPredicate
@Nullable private Function<org.opensaml.profile.context.ProfileRequestContext,Collection<Principal>> defaultAuthenticationMethodsLookupStrategy
@Nullable private Function<org.opensaml.profile.context.ProfileRequestContext,Set<String>> authenticationFlowsLookupStrategy
@Nullable private Function<org.opensaml.profile.context.ProfileRequestContext,Collection<String>> postAuthenticationFlowsLookupStrategy
@Nonnull private final org.opensaml.core.xml.XMLObjectBuilderFactory builderFactory
@Nullable public String getLoggingId()
getLoggingId in interface AdministrativeFlowDescriptorpublic void setLoggingId(@Nullable String id)
id - logging IDpublic boolean isNonBrowserSupported()
isNonBrowserSupported in interface AdministrativeFlowDescriptorpublic void setNonBrowserSupported(boolean isSupported)
isSupported - whether this flow supports non-browser clientspublic void setNonBrowserSupportedPredicate(@Nonnull Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
condition - condition to applypublic boolean isAuthenticated()
isAuthenticated in interface AdministrativeFlowDescriptorpublic void setAuthenticated(boolean flag)
flag - flag to setpublic void setAuthenticatedPredicate(@Nonnull Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
condition - condition to apply@Nonnull public org.opensaml.saml.ext.saml2mdui.UIInfo getUIInfo()
getUIInfo in interface AdministrativeFlowDescriptorpublic void setDisplayNames(@Nonnull@NonnullElements Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> displayNames)
DisplayName objects to expose via getUIInfo() via a utility class.displayNames - utility class collection of language-annotated stringspublic void setDescriptions(@Nonnull@NonnullElements Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> descriptions)
Description objects to expose via getUIInfo() via a utility class.descriptions - utility class collection of language-annotated stringspublic void setLogos(@Nonnull@NonnullElements Collection<BasicAdministrativeFlowDescriptor.Logo> logos)
Logo objects to expose via getUIInfo() via a
utility class.logos - utility class collection of logo metadatapublic void setInformationURLs(@Nonnull@NonnullElements Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> urls)
InformationURL objects to expose via getUIInfo() via a utility class.urls - utility class collection of language-annotated stringspublic void setPrivacyStatementURLs(@Nonnull@NonnullElements Collection<net.shibboleth.utilities.java.support.primitive.LangBearingString> urls)
PrivacyStatementURL objects to expose via getUIInfo() via a utility class.urls - utility class collection of language-annotated strings@Nullable public String getPolicyName()
getPolicyName in interface AdministrativeFlowDescriptorpublic void setPolicyNameLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,String> strategy)
strategy - lookup strategypublic void setPolicyName(@Nonnull@NotEmpty String name)
name - policy namepublic boolean resolveAttributes()
resolveAttributes in interface AdministrativeFlowDescriptorpublic void setResolveAttributes(boolean flag)
flag - flag to setpublic void setResolveAttributesPredicate(@Nonnull Predicate<org.opensaml.profile.context.ProfileRequestContext> condition)
condition - condition to set@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getInboundInterceptorFlows()
getInboundInterceptorFlows in interface ProfileConfigurationgetInboundInterceptorFlows in class AbstractProfileConfiguration@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getOutboundInterceptorFlows()
getOutboundInterceptorFlows in interface ProfileConfigurationgetOutboundInterceptorFlows in class AbstractProfileConfiguration@Nullable public SecurityConfiguration getSecurityConfiguration()
getSecurityConfiguration in interface ProfileConfigurationgetSecurityConfiguration in class AbstractProfileConfiguration@Nonnull @NonnullElements @NotLive @Unmodifiable public List<Principal> getDefaultAuthenticationMethods()
getDefaultAuthenticationMethods in interface AuthenticationProfileConfigurationpublic void setDefaultAuthenticationMethods(@Nullable@NonnullElements Collection<Principal> methods)
methods - default authentication methods to usepublic void setDefaultAuthenticationMethodsLookupStrategy(@Nullable Function<org.opensaml.profile.context.ProfileRequestContext,Collection<Principal>> strategy)
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<org.opensaml.profile.context.ProfileRequestContext,Set<String>> strategy)
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<org.opensaml.profile.context.ProfileRequestContext,Collection<String>> strategy)
strategy - lookup strategy@Nonnull @NonnullElements @NotLive @Unmodifiable public List<String> getNameIDFormatPrecedence()
getNameIDFormatPrecedence in interface AuthenticationProfileConfigurationpublic int hashCode()
hashCode in class AbstractProfileConfigurationpublic boolean equals(Object obj)
equals in class AbstractProfileConfigurationCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.