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 @@ -213,7 +213,7 @@ public Authentication authenticate(Authentication authentication)
213
213
((CredentialsContainer ) result ).eraseCredentials ();
214
214
}
215
215
216
- // If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
216
+ // If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
217
217
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
218
218
if (parentResult == null ) {
219
219
eventPublisher .publishAuthenticationSuccess (result );
@@ -230,7 +230,7 @@ public Authentication authenticate(Authentication authentication)
230
230
"No AuthenticationProvider found for {0}" ));
231
231
}
232
232
233
- // If the parent AuthenticationManager was attempted and failed than it will publish an AbstractAuthenticationFailureEvent
233
+ // If the parent AuthenticationManager was attempted and failed then it will publish an AbstractAuthenticationFailureEvent
234
234
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
235
235
if (parentException == null ) {
236
236
prepareException (lastException , authentication );
You can’t perform that action at this time.
0 commit comments