Update events.adoc

Changes GenericAuthenticationFailureEvent to AbstractAuthenticationFailureEvent

The class GenericAuthenticationFailureEvent does not exist.
This commit is contained in:
Stefan Ganzer 2024-06-30 21:48:56 +02:00 committed by Josh Cummings
parent e7212b37f7
commit ceb278c908
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ public AuthenticationEventPublisher authenticationEventPublisher
DefaultAuthenticationEventPublisher authenticationEventPublisher =
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
authenticationEventPublisher.setDefaultAuthenticationFailureEvent
(GenericAuthenticationFailureEvent.class);
(AbstractAuthenticationFailureEvent.class);
return authenticationEventPublisher;
}
----
@ -159,7 +159,7 @@ Kotlin::
fun authenticationEventPublisher
(applicationEventPublisher: ApplicationEventPublisher?): AuthenticationEventPublisher {
val authenticationEventPublisher = DefaultAuthenticationEventPublisher(applicationEventPublisher)
authenticationEventPublisher.setDefaultAuthenticationFailureEvent(GenericAuthenticationFailureEvent::class.java)
authenticationEventPublisher.setDefaultAuthenticationFailureEvent(AbstractAuthenticationFailureEvent::class.java)
return authenticationEventPublisher
}
----