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

public class ParseAccessToken extends AbstractOIDCUserInfoValidationResponseAction
Action that parses an access token and initially populates the claims for later validation.

Signed JWTs are also signature-checked here.

The parsed token is stored to the response context retrievable as claims via OIDCAuthenticationResponseContext.getAuthorizationGrantClaimsSet(). Claims validation takes place later in order to allow for metadata and relying-party/profile config lookup to allow for pluggable validation, an overridden OP/issuer name, etc.

Since:
3.2.0
Event:
EventIds.PROCEED_EVENT_ID, OidcEventIds.INVALID_GRANT
  • Field Details

    • log

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

      @NonnullAfterInit private DataSealer dataSealer
      Data sealer for unwrapping authorization code.
    • credentialResolver

      @Nullable private CredentialResolver credentialResolver
      Source of signing keys.
    • signedJWT

      @Nullable private com.nimbusds.jwt.SignedJWT signedJWT
      Copy of signed JWT for non-opaque access tokens.
  • Constructor Details

    • ParseAccessToken

      public ParseAccessToken()
  • Method Details