Package org.microshed.testing.jwt
Annotation Type JwtConfig
-
@Target(FIELD) @Retention(RUNTIME) public @interface JwtConfig
Used to annotate a REST Client to configure MicroProfile JWT settings that will be applied to all of its HTTP invocations. In order for this annotation to have any effect, the field must also be annotated withRESTClient
.
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
DEFAULT_ISSUER
static java.lang.String
DEFAULT_SUBJECT
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
claims
array of claims in the following format: key=value example: {"sub=fred", "upn=fred", "kid=123"} For arrays, separate values with a comma.java.lang.String
issuer
java.lang.String
subject
-