Skip to content

Commit e269e5c

Browse files
tmyroadctfigmarcusdacoregio
authored andcommitted
Fix typos
Closes gh-10050
1 parent ed8b08f commit e269e5c

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
@@ -2537,15 +2537,15 @@ The issuer should be one that the code can verify from a trusted source like a l
25372537

25382538
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.
25392539

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

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

0 commit comments

Comments
 (0)