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")
|
@GetMapping("/.well-known/jwks.json")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public Map<String, Object> getKey(Principal principal) {
|
public Map<String, Object> getKey() {
|
||||||
RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
|
RSAPublicKey publicKey = (RSAPublicKey) this.keyPair.getPublic();
|
||||||
RSAKey key = new RSAKey.Builder(publicKey).build();
|
RSAKey key = new RSAKey.Builder(publicKey).build();
|
||||||
return new JWKSet(key).toJSONObject();
|
return new JWKSet(key).toJSONObject();
|
||||||
|
|
Loading…
Reference in New Issue