parent
088a24cf59
commit
32d79f3f4e
|
@ -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…
Reference in New Issue