mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Fix setJWTClaimSetJWSKeySelector Typo
Closes gh-10504
This commit is contained in:
parent
3fb1565cc0
commit
b7cc667d21
@ -323,7 +323,7 @@ Next, we can construct a `JWTProcessor`:
|
|||||||
JWTProcessor jwtProcessor(JWTClaimSetJWSKeySelector keySelector) {
|
JWTProcessor jwtProcessor(JWTClaimSetJWSKeySelector keySelector) {
|
||||||
ConfigurableJWTProcessor<SecurityContext> jwtProcessor =
|
ConfigurableJWTProcessor<SecurityContext> jwtProcessor =
|
||||||
new DefaultJWTProcessor();
|
new DefaultJWTProcessor();
|
||||||
jwtProcessor.setJWTClaimSetJWSKeySelector(keySelector);
|
jwtProcessor.setJWTClaimsSetAwareJWSKeySelector(keySelector);
|
||||||
return jwtProcessor;
|
return jwtProcessor;
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user