mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 21:12:18 +00:00
parameter 'pricipal' is never used
parameter 'pricipal' is never used
This commit is contained in:
parent
5c2ee09bc3
commit
ed545941c9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user