Class ValidatePushedAuthorizationClientIDMatch

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

public class ValidatePushedAuthorizationClientIDMatch extends AbstractOAuthAuthorizationRequestAction
Validates the client ID in the incoming authorization request matches with the one used in endpoint authentication.
  • Field Details

    • log

      @Nonnull private org.slf4j.Logger log
      Class logger.
    • clientIDLookupStrategy

      @Nonnull private Function<MessageContext,com.nimbusds.oauth2.sdk.id.ClientID> clientIDLookupStrategy
      Strategy used to obtain the client id value used in endpoint authentication.
  • Constructor Details

    • ValidatePushedAuthorizationClientIDMatch

      public ValidatePushedAuthorizationClientIDMatch()
      Constructor.
  • Method Details

    • setClientIDLookupStrategy

      public void setClientIDLookupStrategy(@Nonnull Function<MessageContext,com.nimbusds.oauth2.sdk.id.ClientID> strategy)
      Set the strategy used to locate the client id value used in endpoint authentication.
      Parameters:
      strategy - lookup strategy
    • doExecute

      protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
      Overrides:
      doExecute in class AbstractProfileAction