From 78686ff74fc424a4c6260e96bda330853e3b99c5 Mon Sep 17 00:00:00 2001 From: "shengzhaoli.shengz" Date: Sat, 30 Apr 2022 22:29:21 +0800 Subject: [PATCH] =?UTF-8?q?jwt=20=E6=8F=90=E9=86=92=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E7=94=9F=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/monkeyk/sos/config/OAuth2ServerConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/monkeyk/sos/config/OAuth2ServerConfiguration.java b/src/main/java/com/monkeyk/sos/config/OAuth2ServerConfiguration.java index 7a8e311..512b4f5 100644 --- a/src/main/java/com/monkeyk/sos/config/OAuth2ServerConfiguration.java +++ b/src/main/java/com/monkeyk/sos/config/OAuth2ServerConfiguration.java @@ -115,7 +115,7 @@ public class OAuth2ServerConfiguration { ECKeyGenerator keyGenerator = new ECKeyGenerator(Curve.P_256); keyGenerator.keyID(RESOURCE_ID); JWK jwk = keyGenerator.generate(); - System.out.println("\n Use auto-generated jwk: " + jwk.toJSONString()); + System.out.println("\n Use auto-generated jwk: " + jwk.toJSONString() + "\nDO-NOT-USE-PRODUCTION"); JWKSet jwkSet = new JWKSet(jwk); return new ImmutableJWKSet<>(jwkSet);