Interface TokenConsumerFlowDescriptor

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

public interface TokenConsumerFlowDescriptor extends FlowDescriptor
A descriptor for a token consumer subflow.

Token consumers are the portion of the SP responsible for consuming SSO protocol responses that result in authenticated access to resources. In SAML, this would be the "assertion consumer service".

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. For example, determining the protocol in use, the parametes included in the request, etc.

  • 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