From ceb278c908d444fbca2c9ec94055403525a1d6af Mon Sep 17 00:00:00 2001 From: Stefan Ganzer <10470489+stefanganzer@users.noreply.github.com> Date: Sun, 30 Jun 2024 21:48:56 +0200 Subject: [PATCH] Update events.adoc Changes GenericAuthenticationFailureEvent to AbstractAuthenticationFailureEvent The class GenericAuthenticationFailureEvent does not exist. --- docs/modules/ROOT/pages/servlet/authentication/events.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modules/ROOT/pages/servlet/authentication/events.adoc b/docs/modules/ROOT/pages/servlet/authentication/events.adoc index f41ac3ef3e..59ad12f0d9 100644 --- a/docs/modules/ROOT/pages/servlet/authentication/events.adoc +++ b/docs/modules/ROOT/pages/servlet/authentication/events.adoc @@ -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 } ----