Skip to content

Commit ce4345b

Browse files
lenverwinch
authored andcommitted
Fix ProviderManager Javadoc typo
Closes gh-8800
1 parent 7859970 commit ce4345b

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public Authentication authenticate(Authentication authentication)
218218
((CredentialsContainer) result).eraseCredentials();
219219
}
220220

221-
// If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
221+
// If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
222222
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
223223
if (parentResult == null) {
224224
eventPublisher.publishAuthenticationSuccess(result);
@@ -235,7 +235,7 @@ public Authentication authenticate(Authentication authentication)
235235
"No AuthenticationProvider found for {0}"));
236236
}
237237

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

0 commit comments

Comments
 (0)