Class LogoutPropagationFlowDescriptor

All Implemented Interfaces:
Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class LogoutPropagationFlowDescriptor extends AbstractIdentifiableInitializableComponent
A descriptor for a logout propagation flow.

A flow models a sequence of profile actions that performs logout propagation of an SPSession. The suitability of a particular flow given an instance of SPSession is determined by getSessionType().

  • Field Details

    • sessionType

      @Nonnull private final Class<? extends SPSession> sessionType
      Type of session handled by this flow.
  • Constructor Details

    • LogoutPropagationFlowDescriptor

      public LogoutPropagationFlowDescriptor(@ParameterName(name="type") Class<? extends SPSession> type)
      Constructor.
      Parameters:
      type - type of SPSession associated with this flow
  • Method Details

    • getSessionType

      @Nonnull public Class<? extends SPSession> getSessionType()
      Get the type of SPSession supported by this flow descriptor.
      Returns:
      type of session supported by this flow descriptor
    • isSupported

      public boolean isSupported(@Nonnull SPSession session)
      Test an input session to determine if this flow supports it.
      Parameters:
      session - input session
      Returns:
      true iff this flow should be used to propagate a logout to the corresponding SP
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object