Quellcode durchsuchen

parameter 'pricipal' is never used

parameter 'pricipal' is never used
James vor 6 Jahren
Ursprung
Commit
ed545941c9

+ 1 - 1
samples/boot/oauth2authorizationserver/src/main/java/sample/JwkSetConfiguration.java

@@ -169,7 +169,7 @@ class JwkSetEndpoint {
 
 	@GetMapping("/.well-known/jwks.json")
 	@ResponseBody
-	public Map<String, Object> getKey(Principal principal) {
+	public Map<String, Object> getKey() {
 		RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
 		RSAKey key = new RSAKey.Builder(publicKey).build();
 		return new JWKSet(key).toJSONObject();