Class PrepareInboundMessageContext

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

public class PrepareInboundMessageContext extends AbstractProfileAction
Action that adds an inbound MessageContext and a SAMLPeerEntityContext to the ProfileRequestContext based on the identity of a relying party, by default from a SAML2SPSession found in a LogoutPropagationContext.

This action primarily mocks up a minimal amount of machinery on the inbound message side to drive a SAML 2 Logout Propagation flow, which needs to issue a logout request message for the SAML2SPSession it's given.

It has some generic capability to allow it to be used for some other outbound messaging cases, such as SAML 2 SSO proxying.

  • Field Details

    • log

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

      @Nonnull private Function<ProfileRequestContext,LogoutPropagationContext> logoutPropContextLookupStrategy
      Logout propagation context lookup strategy.
    • relyingPartyLookupStrategy

      @Nullable private Function<ProfileRequestContext,String> relyingPartyLookupStrategy
      Optional circumvention of usual method to identify the relying party name.
    • relyingPartyId

      @Nullable private String relyingPartyId
      The relying party name to base the inbound context on.
  • Constructor Details

    • PrepareInboundMessageContext

      public PrepareInboundMessageContext()
  • Method Details