Class InitializeRelyingPartyContext

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

public class InitializeRelyingPartyContext extends AbstractProfileAction
Action that adds a RelyingPartyContext to the current ProfileRequestContext tree via a creation function.
Event:
EventIds.INVALID_MSG_CTX, EventIds.INVALID_PROFILE_CTX, IdPEventIds.INVALID_RELYING_PARTY_CTX
Postcondition:
ProfileRequestContext.getSubcontext(RelyingPartyContext.class) != null with relying party id set.
  • Field Details

    • log

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

      @Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextCreationStrategy
      Strategy that will return or create a RelyingPartyContext.
    • oidcMetadataContextLookupStrategy

      @Nonnull private Function<ProfileRequestContext,OIDCMetadataContext> oidcMetadataContextLookupStrategy
      Strategy that will return OIDCMetadataContext.
    • clientIDLookupStrategy

      @Nonnull private Function<MessageContext,com.nimbusds.oauth2.sdk.id.ClientID> clientIDLookupStrategy
      Strategy used to obtain the client id value for authorize/token request.
    • clientId

      @Nullable private com.nimbusds.oauth2.sdk.id.ClientID clientId
      OIDC client id.
    • inbound

      private boolean inbound
      Use the inbound message tree?
  • Constructor Details

    • InitializeRelyingPartyContext

      public InitializeRelyingPartyContext()
      Constructor.
  • Method Details