Interface SessionInitiatorFlowDescriptor

All Superinterfaces:
Component, DestructableComponent, FlowDescriptor, IdentifiableComponent, IdentifiedComponent, InitializableComponent
All Known Implementing Classes:
BasicSessionInitiatorFlowDescriptor

public interface SessionInitiatorFlowDescriptor extends FlowDescriptor
A descriptor for a session initiator subflow.

Session initiators are the portion of the SP responsible for initiating SSO protocol requests. They exist in every SSO protocol in some sense but are usually not formalized, though most protocols have extensions nobody bothers to implement to represent the idea of an endpoint where a request can get kicked off.

The primary need for this is to associate each subflow with a condition that can determine whether a given request is handled by a given subflow. Sometimes this may be a no-op without more information that is only known once the flow runs, but some flows can optimize not running in some cases.

  • Method Details

    • getActivationCondition

      @Nonnull Predicate<ProfileRequestContext> getActivationCondition()
      Gets the activation condition to run to determine whether this flow can handle the request.
      Returns:
      a condition governing use of this flow