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 = DefaultAuthenticationEventPublisher authenticationEventPublisher =
new DefaultAuthenticationEventPublisher(applicationEventPublisher); new DefaultAuthenticationEventPublisher(applicationEventPublisher);
authenticationEventPublisher.setDefaultAuthenticationFailureEvent authenticationEventPublisher.setDefaultAuthenticationFailureEvent
(GenericAuthenticationFailureEvent.class); (AbstractAuthenticationFailureEvent.class);
return authenticationEventPublisher; return authenticationEventPublisher;
} }
---- ----
@ -159,7 +159,7 @@ Kotlin::
fun authenticationEventPublisher fun authenticationEventPublisher
(applicationEventPublisher: ApplicationEventPublisher?): AuthenticationEventPublisher { (applicationEventPublisher: ApplicationEventPublisher?): AuthenticationEventPublisher {
val authenticationEventPublisher = DefaultAuthenticationEventPublisher(applicationEventPublisher) val authenticationEventPublisher = DefaultAuthenticationEventPublisher(applicationEventPublisher)
authenticationEventPublisher.setDefaultAuthenticationFailureEvent(GenericAuthenticationFailureEvent::class.java) authenticationEventPublisher.setDefaultAuthenticationFailureEvent(AbstractAuthenticationFailureEvent::class.java)
return authenticationEventPublisher return authenticationEventPublisher
} }
---- ----