File tree 1 file changed +2
-2
lines changed
core/src/main/java/org/springframework/security/authentication
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ public Authentication authenticate(Authentication authentication)
218
218
((CredentialsContainer ) result ).eraseCredentials ();
219
219
}
220
220
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
222
222
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
223
223
if (parentResult == null ) {
224
224
eventPublisher .publishAuthenticationSuccess (result );
@@ -235,7 +235,7 @@ public Authentication authenticate(Authentication authentication)
235
235
"No AuthenticationProvider found for {0}" ));
236
236
}
237
237
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
239
239
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
240
240
if (parentException == null ) {
241
241
prepareException (lastException , authentication );
You can’t perform that action at this time.
0 commit comments