Class RestoreProfileRequestContextTree

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class RestoreProfileRequestContextTree
extends AbstractProfileAction
Restores specific portions of the context tree used during logout processing to enable reuse of logout propagation subflows during back channel logout.

Some propagation flows make use of substantial portions of the tree, including the inbound/outbound contexts, audit context, relying party context, etc., so this amounts to a "push/pop" to preserve the state of the "outer" logout operation.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX
Precondition:
LogoutContext.getSubcontext(InOutOperationContext.class) != null
Postcondition:
LogoutContext.getSubcontext(InOutOperationContext.class) == null
  • Field Details

    • log

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

      @Nonnull private Function<ProfileRequestContext,​LogoutContext> logoutContextLookupStrategy
      Looks up a LogoutContext from PRC.
  • Constructor Details

    • RestoreProfileRequestContextTree

      public RestoreProfileRequestContextTree()
      Constructor.
  • Method Details