mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-11 21:03:31 +00:00
Update JwtIssuerAuthenticationManagerResolver constructor javadoc
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
parent
42283a5c1d
commit
6dc77bd98b
@ -109,8 +109,7 @@ public final class JwtIssuerAuthenticationManagerResolver implements Authenticat
|
||||
* Map<String, AuthenticationManager> authenticationManagers = new HashMap<>();
|
||||
* 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user