Skip to content

Commit a057889

Browse files
authored
Merge pull request #1007 from emmartins/WFLY-19725
[WFLY-19725] Document jaxrs-jwt script execution warnings
2 parents 04ced3a + d68e862 commit a057889

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

jaxrs-jwt/README-source.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ $ __{jbossHomeName}__/bin/jboss-cli.sh --connect --file=configure-elytron.cli
6161
NOTE: For Windows, use the `__{jbossHomeName}__\bin\jboss-cli.bat` script.
6262
+
6363

64+
You will see the following warnings when executing the script:
65+
+
66+
[source]
67+
----
68+
WFLYELY01090: Allowed jku values haven't been specified for token realm 'jwt-realm'. Token validation will fail if the token contains a 'jku' header parameter. The allowed jku values can be specified as a space separated string using the 'wildfly.elytron.jwt.allowed.jku.values.jwt-realm' system property.
69+
70+
ELY01179: SSL not configured. jku claim will not be supported.
71+
72+
ELY01182: Allowed jku values haven't been configured for the JWT validator. Token validation will fail if the token contains a 'jku' header parameter.
73+
----
74+
+
75+
The quickstart creates and makes use of a JWT that doesn't include a `jku` header parameter so the warnings can be ignored. When making use of a real token provider with a `jwt-realm`, token validation will fail if the token contains a `jku` header parameter and the allowed jku values have not been specified.
76+
6477
. Stop the {productName} server.
6578

6679
== Review the Modified Server Configuration

0 commit comments

Comments
 (0)