Skip to content

Commit 6584b84

Browse files
lenverwinch
authored andcommitted
Fix ProviderManager Javadoc typo
Closes gh-8800
1 parent 070706d commit 6584b84

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
@@ -237,7 +237,7 @@ public Authentication authenticate(Authentication authentication)
237237
((CredentialsContainer) result).eraseCredentials();
238238
}
239239

240-
// If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
240+
// If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
241241
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
242242
if (parentResult == null) {
243243
eventPublisher.publishAuthenticationSuccess(result);
@@ -254,7 +254,7 @@ public Authentication authenticate(Authentication authentication)
254254
"No AuthenticationProvider found for {0}"));
255255
}
256256

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

0 commit comments

Comments
 (0)