Skip to content

Commit c5a50bd

Browse files
tmyroadctfigmarcusdacoregio
authored andcommitted
Fix typos
Closes gh-10050
1 parent 37e2cc4 commit c5a50bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,15 +2536,15 @@ The issuer should be one that the code can verify from a trusted source like a l
25362536

25372537
You may have observed that this strategy, while simple, comes with the trade-off that the JWT is parsed once by the `AuthenticationManagerResolver` and then again by the <<oauth2resourceserver-jwt-architecture-jwtdecoder,`JwtDecoder`>> later on in the request.
25382538

2539-
This extra parsing can be alleviated by configuring the <<oauth2resourceserver-jwt-architecture-jwtdecoder,`JwtDecoder`>> directly with a `JWTClaimSetAwareJWSKeySelector` from Nimbus:
2539+
This extra parsing can be alleviated by configuring the <<oauth2resourceserver-jwt-architecture-jwtdecoder,`JwtDecoder`>> directly with a `JWTClaimsSetAwareJWSKeySelector` from Nimbus:
25402540

25412541
====
25422542
.Java
25432543
[source,java,role="primary"]
25442544
----
25452545
@Component
25462546
public class TenantJWSKeySelector
2547-
implements JWTClaimSetAwareJWSKeySelector<SecurityContext> {
2547+
implements JWTClaimsSetAwareJWSKeySelector<SecurityContext> {
25482548
25492549
private final TenantRepository tenants; <1>
25502550
private final Map<String, JWSKeySelector<SecurityContext>> selectors = new ConcurrentHashMap<>(); <2>
@@ -2585,7 +2585,7 @@ public class TenantJWSKeySelector
25852585
[source,kotlin,role="secondary"]
25862586
----
25872587
@Component
2588-
class TenantJWSKeySelector(tenants: TenantRepository) : JWTClaimSetAwareJWSKeySelector<SecurityContext> {
2588+
class TenantJWSKeySelector(tenants: TenantRepository) : JWTClaimsSetAwareJWSKeySelector<SecurityContext> {
25892589
private val tenants: TenantRepository <1>
25902590
private val selectors: MutableMap<String, JWSKeySelector<SecurityContext>> = ConcurrentHashMap() <2>
25912591

0 commit comments

Comments
 (0)