Class AdminFlowDescriptor
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.profile.config.AbstractProfileConfiguration
net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
net.shibboleth.idp.admin.BasicAdministrativeFlowDescriptor
net.shibboleth.idp.plugin.authn.duo.admin.impl.AdminFlowDescriptor
- All Implemented Interfaces:
AdministrativeFlowDescriptor,AuthenticationProfileConfiguration,InterceptorAwareProfileConfiguration,FlowDescriptor,AttributeResolvingProfileConfiguration,ConditionalProfileConfiguration,ProfileConfiguration,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
Flow descriptor for Duo admin flow.
This is primarily for managing passwordless opt-in state, but may be extended for other purposes in the future.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.admin.BasicAdministrativeFlowDescriptor
BasicAdministrativeFlowDescriptor.Logo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,String> Lookup strategy for access control policy to apply for determining admin vs.Fields inherited from interface net.shibboleth.profile.config.ProfileConfiguration
DEFAULT_DISALLOWED_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdminPolicyName(ProfileRequestContext profileRequestContext) Get the access control policy name to apply for admin access.voidsetAdminPolicyName(String name) Set the explicit access control policy name to apply for admin access.voidSet a lookup strategy to use to obtain the admin-level access control policy for this flow.Methods inherited from class net.shibboleth.idp.admin.BasicAdministrativeFlowDescriptor
equals, getAuthenticationFlows, getDefaultAuthenticationMethods, getInboundInterceptorFlows, getLoggingId, getOutboundInterceptorFlows, getPolicyName, getPostAuthenticationFlows, getProxyCount, getSecurityConfiguration, getUIInfo, hashCode, isAuthenticated, isForceAuthn, isNonBrowserSupported, isResolveAttributes, setAuthenticated, setAuthenticatedPredicate, setAuthenticationFlows, setAuthenticationFlowsLookupStrategy, setDefaultAuthenticationMethods, setDefaultAuthenticationMethodsByString, setDefaultAuthenticationMethodsByStringLookupStrategy, setDefaultAuthenticationMethodsLookupStrategy, setDescriptions, setDisplayNames, setForceAuthn, setForceAuthnPredicate, setInformationURLs, setLoggingId, setLogos, setNonBrowserSupported, setNonBrowserSupportedPredicate, setPolicyName, setPolicyNameLookupStrategy, setPostAuthenticationFlows, setPostAuthenticationFlowsLookupStrategy, setPrincipalServiceManager, setPrivacyStatementURLs, setProxyCount, setProxyCountLookupStrategy, setResolveAttributes, setResolveAttributesPredicate, toStringMethods inherited from class net.shibboleth.idp.profile.config.AbstractInterceptorAwareProfileConfiguration
setInboundInterceptorFlows, setInboundInterceptorFlowsLookupStrategy, setOutboundInterceptorFlows, setOutboundInterceptorFlowsLookupStrategyMethods inherited from class net.shibboleth.profile.config.AbstractConditionalProfileConfiguration
getActivationCondition, setActivationConditionMethods inherited from class net.shibboleth.profile.config.AbstractProfileConfiguration
getDisallowedFeatures, isFeatureDisallowed, setDisallowedFeatures, setDisallowedFeaturesLookupStrategy, setSecurityConfiguration, setSecurityConfigurationLookupStrategyMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.shibboleth.idp.admin.AdministrativeFlowDescriptor
isLocalMethods inherited from interface net.shibboleth.shared.component.DestructableComponent
destroy, isDestroyedMethods inherited from interface net.shibboleth.shared.component.IdentifiableComponent
setIdMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getIdMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitializedMethods inherited from interface net.shibboleth.profile.config.ProfileConfiguration
getDisallowedFeatures, isFeatureDisallowed
-
Field Details
-
adminPolicyNameLookupStrategy
Lookup strategy for access control policy to apply for determining admin vs. user-level access.
-
-
Constructor Details
-
AdminFlowDescriptor
Constructor.- Parameters:
id-
-
-
Method Details
-
getAdminPolicyName
Get the access control policy name to apply for admin access.- Parameters:
profileRequestContext- profile request context- Returns:
- admin policy name
-
setAdminPolicyName
Set the explicit access control policy name to apply for admin access.- Parameters:
name- admin policy name
-
setAdminPolicyNameLookupStrategy
public void setAdminPolicyNameLookupStrategy(@Nonnull Function<ProfileRequestContext, String> strategy) Set a lookup strategy to use to obtain the admin-level access control policy for this flow.- Parameters:
strategy- lookup strategy
-