parent
670d10dadd
commit
b7a12e1b80
|
@ -2641,7 +2641,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…
Reference in New Issue