Class UpdateIdPSessionWithSPSessionAction<RequestType,ResponseType>

Type Parameters:
RequestType - request
ResponseType - response
All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class UpdateIdPSessionWithSPSessionAction<RequestType,ResponseType> extends AbstractCASProtocolAction<RequestType,ResponseType>
Conditionally updates the IdPSession with a CASSPSession to support SLO. If the service granted access to indicates participation in SLO via Service.singleLogoutParticipant, then a CASSPSession is created to track the SP session in order that it may receive SLO messages upon a request to the CAS /logout URI.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • sessionResolver

      @Nonnull private final SessionResolver sessionResolver
      Looks up IdP sessions.
    • sessionLifetime

      @Nonnull private final Duration sessionLifetime
      Lifetime of sessions to create.
    • ticket

      @Nullable private Ticket ticket
    • service

      @Nullable private Service service
      CAS service.
  • Constructor Details

    • UpdateIdPSessionWithSPSessionAction

      public UpdateIdPSessionWithSPSessionAction(@Nonnull SessionResolver resolver, @Nonnull Duration lifetime)
      resolver - Session resolver component
      lifetime - determines upper bound for expiration of the CASSPSession to be created
  • Method Details