Skip to content

Commit 6dc77bd

Browse files
ngocnhan-tran1996jzheaux
authored andcommitted
Update JwtIssuerAuthenticationManagerResolver constructor javadoc
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 42283a5 commit 6dc77bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtIssuerAuthenticationManagerResolver.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ public static JwtIssuerAuthenticationManagerResolver fromTrustedIssuers(Predicat
109109
* Map&lt;String, AuthenticationManager&gt; authenticationManagers = new HashMap&lt;&gt;();
110110
* authenticationManagers.put("https://issuerOne.example.org", managerOne);
111111
* authenticationManagers.put("https://issuerTwo.example.org", managerTwo);
112-
* JwtAuthenticationManagerResolver resolver = new JwtAuthenticationManagerResolver
113-
* (authenticationManagers::get);
112+
* JwtIssuerAuthenticationManagerResolver resolver = new JwtIssuerAuthenticationManagerResolver(authenticationManagers::get);
114113
* </pre>
115114
*
116115
* The keys in the {@link Map} are the allowed issuers.

0 commit comments

Comments
 (0)