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 @@ -238,7 +238,7 @@ public Authentication authenticate(Authentication authentication)
238
238
((CredentialsContainer ) result ).eraseCredentials ();
239
239
}
240
240
241
- // If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
241
+ // If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
242
242
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
243
243
if (parentResult == null ) {
244
244
eventPublisher .publishAuthenticationSuccess (result );
@@ -255,7 +255,7 @@ public Authentication authenticate(Authentication authentication)
255
255
"No AuthenticationProvider found for {0}" ));
256
256
}
257
257
258
- // If the parent AuthenticationManager was attempted and failed than it will publish an AbstractAuthenticationFailureEvent
258
+ // If the parent AuthenticationManager was attempted and failed then it will publish an AbstractAuthenticationFailureEvent
259
259
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
260
260
if (parentException == null ) {
261
261
prepareException (lastException , authentication );
You can’t perform that action at this time.
0 commit comments