parent
c4eaac0423
commit
76d4b1e5a3
|
@ -96,4 +96,5 @@ public class RestConfig extends WebSecurityConfigurerAdapter {
|
|||
JWKSource<SecurityContext> jwks = new ImmutableJWKSet<>(new JWKSet(jwk));
|
||||
return new NimbusJwtEncoder(jwks);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -57,4 +57,5 @@ public class TokenController {
|
|||
// @formatter:on
|
||||
return this.encoder.encode(JwtEncoderParameters.from(claims)).getTokenValue();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue