Class SmallRyeJwtConfig
- java.lang.Object
-
- io.quarkus.smallrye.jwt.runtime.auth.SmallRyeJwtConfig
-
@ConfigRoot(name="smallrye-jwt", phase=RUN_TIME) public class SmallRyeJwtConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanblockingAuthenticationEnable this property if fetching the remote keys can be a time-consuming operation.booleansilentAlways create HTTP 401 challenge, even for requests containing no authentication credentials.
-
Constructor Summary
Constructors Constructor Description SmallRyeJwtConfig()
-
-
-
Field Detail
-
blockingAuthentication
@ConfigItem(defaultValue="false") public 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
@ConfigItem public 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'.
-
-