Class MetadataLookupExtensionFlowDescriptor
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.plugin.oidc.op.metadata.MetadataLookupExtensionFlowDescriptor
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,FlowDescriptor,Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class MetadataLookupExtensionFlowDescriptor
extends AbstractIdentifiableInitializableComponent
implements FlowDescriptor, Predicate<ProfileRequestContext>
A descriptor for a metadata lookup extension flow.
A metadata lookup extension flow is designed to be injected into a oidc/metadata-lookup to facilitate extensions for
the metadata lookup process. The extension flows must include an activation predicate to indicate suitability based
on the content of the ProfileRequestContext.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Predicate<ProfileRequestContext>Predicate that must be true for this flow to be usable for a given request.static final StringPrefix convention for flow IDs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetActivationCondition(Predicate<ProfileRequestContext> condition) Set the activation condition in the form of aPredicatesuch that iff the condition evaluates to true should the corresponding flow be allowed/possible.booleantest(ProfileRequestContext input) toString()Methods 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.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, isInitialized
-
Field Details
-
FLOW_ID_PREFIX
Prefix convention for flow IDs.- See Also:
-
activationCondition
Predicate that must be true for this flow to be usable for a given request.
-
-
Constructor Details
-
MetadataLookupExtensionFlowDescriptor
public MetadataLookupExtensionFlowDescriptor()Constructor.
-
-
Method Details
-
setActivationCondition
Set the activation condition in the form of aPredicatesuch that iff the condition evaluates to true should the corresponding flow be allowed/possible.- Parameters:
condition- predicate that controls activation of the flow
-
test
- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
hashCode
public int hashCode() -
equals
-
toString
-