Interface SmallRyeJwtConfig


@ConfigMapping(prefix="quarkus.smallrye-jwt") @ConfigRoot(phase=RUN_TIME) public interface SmallRyeJwtConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Enable this property if fetching the remote keys can be a time-consuming operation.
    int
    JWT authentication mechanism priority.
    boolean
    Always create HTTP 401 challenge, even for requests containing no authentication credentials.
  • Method Details

    • blockingAuthentication

      @ConfigDocDefault("\'true\' if \'mp.jwt.decrypt.key.location\' or \'mp.jwt.verify.publickey.location\' location is set and the location uses the HTTP or HTTPS protocol") Optional<Boolean> blockingAuthentication()
      Enable this property if fetching the remote keys can be a time-consuming operation. Do not enable it if you use the local keys.
    • silent

      @WithDefault("false") boolean silent()
      Always create HTTP 401 challenge, even for requests containing no authentication credentials. JWT authentication mechanism will return HTTP 401 when an authentication challenge is required. However if it is used alongside one of the interactive authentication mechanisms then returning HTTP 401 to the users accessing the application from a browser may not be desired. If you prefer you can request that JWT authentication mechanism does not create a challenge in such cases by setting this property to 'true'.
    • priority

      @WithDefault("1000") int priority()
      JWT authentication mechanism priority.
      See Also:
      • HttpAuthenticationMechanism.getPriority()