Class ValidateTokenClaims

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

    public class ValidateTokenClaims
    extends AbstractDuoAuthenticationAction
    Action that validates the claims of the Duo id_token using the supplied claims validator. The verifier must be thread-safe and validate the claims set against the OpenID Connect core 1.0 section 3.1.3.7 specification and those required by Duo.
    Event:
    EventIds.PROCEED_EVENT_ID, AuthnEventIds.AUTHN_EXCEPTION, AuthnEventIds.NO_CREDENTIALS
    Precondition:
          ProfileRequestContext.getSubcontext(AuthenticationContext.class, false) != null
          
    ,
          AuthenticationContext.getSubcontext(DuoOIDCAuthenticationContext.class, false) != null
          
    ,
          DuoOIDCAuthenticationContext.getAuthToken() != null
          
    ,
          DuoOIDCAuthenticationContext.getIntegration() != null