mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-13 23:52:14 +00:00
Fix ProviderManager Javadoc typo
Closes gh-8800
This commit is contained in:
parent
7859970ff6
commit
ce4345b0ed
@ -218,7 +218,7 @@ public class ProviderManager implements AuthenticationManager, MessageSourceAwar
|
|||||||
((CredentialsContainer) result).eraseCredentials();
|
((CredentialsContainer) result).eraseCredentials();
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the parent AuthenticationManager was attempted and successful than it will publish an AuthenticationSuccessEvent
|
// If the parent AuthenticationManager was attempted and successful then it will publish an AuthenticationSuccessEvent
|
||||||
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
|
// This check prevents a duplicate AuthenticationSuccessEvent if the parent AuthenticationManager already published it
|
||||||
if (parentResult == null) {
|
if (parentResult == null) {
|
||||||
eventPublisher.publishAuthenticationSuccess(result);
|
eventPublisher.publishAuthenticationSuccess(result);
|
||||||
@ -235,7 +235,7 @@ public class ProviderManager implements AuthenticationManager, MessageSourceAwar
|
|||||||
"No AuthenticationProvider found for {0}"));
|
"No AuthenticationProvider found for {0}"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the parent AuthenticationManager was attempted and failed than it will publish an AbstractAuthenticationFailureEvent
|
// If the parent AuthenticationManager was attempted and failed then it will publish an AbstractAuthenticationFailureEvent
|
||||||
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
|
// This check prevents a duplicate AbstractAuthenticationFailureEvent if the parent AuthenticationManager already published it
|
||||||
if (parentException == null) {
|
if (parentException == null) {
|
||||||
prepareException(lastException, authentication);
|
prepareException(lastException, authentication);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user