Update JwtIssuerAuthenticationManagerResolver constructor javadoc

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan 2025-07-05 13:55:50 +07:00 committed by Josh Cummings
parent 42283a5c1d
commit 6dc77bd98b

View File

@ -109,8 +109,7 @@ public final class JwtIssuerAuthenticationManagerResolver implements Authenticat
* Map&lt;String, AuthenticationManager&gt; authenticationManagers = new HashMap&lt;&gt;();
* authenticationManagers.put("https://issuerOne.example.org", managerOne);
* authenticationManagers.put("https://issuerTwo.example.org", managerTwo);
* JwtAuthenticationManagerResolver resolver = new JwtAuthenticationManagerResolver
* (authenticationManagers::get);
* JwtIssuerAuthenticationManagerResolver resolver = new JwtIssuerAuthenticationManagerResolver(authenticationManagers::get);
* </pre>
*
* The keys in the {@link Map} are the allowed issuers.