Class ExternalInterceptorContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.profile.context.ExternalInterceptorContext
All Implemented Interfaces:
Iterable<BaseContext>

public final class ExternalInterceptorContext
extends BaseContext
A context representing the state of an externalized interceptor flow.
Since:
4.0.0
Parent:
ProfileInterceptorContext
Added:
Before dispatching control to an external interceptor flow
  • Field Details

    • externalInterceptor

      @Nonnull private final ExternalInterceptor externalInterceptor
      Implementation object.
    • flowExecutionUrl

      @Nullable private String flowExecutionUrl
      Value of flowExecutionUrl on branching from flow.
    • eventId

      @Nullable private String eventId
      Event to signal.
  • Constructor Details

    • ExternalInterceptorContext

      public ExternalInterceptorContext​(@Nonnull ExternalInterceptor interceptor)
      Constructor.
      Parameters:
      interceptor - implementation object
  • Method Details

    • getExternalInterceptor

      @Nonnull public ExternalInterceptor getExternalInterceptor()
      Get the ExternalInterceptor installed in the context.
      Returns:
      the interceptor implementation
    • getFlowExecutionUrl

      @Nullable public String getFlowExecutionUrl()
      Get the flow execution URL to return control to.
      Returns:
      return location
    • setFlowExecutionUrl

      @Nonnull public ExternalInterceptorContext setFlowExecutionUrl​(@Nullable String url)
      Set the flow execution URL to return control to.
      Parameters:
      url - return location
      Returns:
      this context
    • getEventId

      @Nullable public String getEventId()
      Get the event ID to signal as the result of this flow.
      Returns:
      event ID
    • setEventId

      @Nonnull public ExternalInterceptorContext setEventId​(@Nullable String id)
      Set the event ID to signal as the result of this flow.
      Parameters:
      id - event ID
      Returns:
      this context