Skip to content

Commit 3dc5968

Browse files
lenverwinch
authored andcommitted
Fix ProviderManager Javadoc typo
Closes gh-8800
1 parent dcd2137 commit 3dc5968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/springframework/security/authentication/ProviderManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public Authentication authenticate(Authentication authentication)
213213
((CredentialsContainer) result).eraseCredentials();
214214
}
215215

216-
// If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
216+
// If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
217217
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
218218
if (parentResult == null) {
219219
eventPublisher.publishAuthenticationSuccess(result);
@@ -230,7 +230,7 @@ public Authentication authenticate(Authentication authentication)
230230
"No AuthenticationProvider found for {0}"));
231231
}
232232

233-
// If the parent AuthenticationManager was attempted and failed than it will publish an AbstractAuthenticationFailureEvent
233+
// If the parent AuthenticationManager was attempted and failed then it will publish an AbstractAuthenticationFailureEvent
234234
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
235235
if (parentException == null) {
236236
prepareException(lastException, authentication);

0 commit comments

Comments
 (0)