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