Skip to content

Commit ceb278c

Browse files
stefanganzerjzheaux
authored andcommitted
Update events.adoc
Changes GenericAuthenticationFailureEvent to AbstractAuthenticationFailureEvent The class GenericAuthenticationFailureEvent does not exist.
1 parent e7212b3 commit ceb278c

File tree

1 file changed

+2
-2
lines changed
  • docs/modules/ROOT/pages/servlet/authentication

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/servlet/authentication/events.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public AuthenticationEventPublisher authenticationEventPublisher
146146
DefaultAuthenticationEventPublisher authenticationEventPublisher =
147147
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
148148
authenticationEventPublisher.setDefaultAuthenticationFailureEvent
149-
(GenericAuthenticationFailureEvent.class);
149+
(AbstractAuthenticationFailureEvent.class);
150150
return authenticationEventPublisher;
151151
}
152152
----
@@ -159,7 +159,7 @@ Kotlin::
159159
fun authenticationEventPublisher
160160
(applicationEventPublisher: ApplicationEventPublisher?): AuthenticationEventPublisher {
161161
val authenticationEventPublisher = DefaultAuthenticationEventPublisher(applicationEventPublisher)
162-
authenticationEventPublisher.setDefaultAuthenticationFailureEvent(GenericAuthenticationFailureEvent::class.java)
162+
authenticationEventPublisher.setDefaultAuthenticationFailureEvent(AbstractAuthenticationFailureEvent::class.java)
163163
return authenticationEventPublisher
164164
}
165165
----

0 commit comments

Comments
 (0)