Skip to content

Commit ed54594

Browse files
JamesZBLrwinch
authored andcommitted
parameter 'pricipal' is never used
parameter 'pricipal' is never used
1 parent 5c2ee09 commit ed54594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/boot/oauth2authorizationserver/src/main/java/sample/JwkSetConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public JwkSetEndpoint(KeyPair keyPair) {
169169

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

0 commit comments

Comments
 (0)