Update events.adoc
Changes GenericAuthenticationFailureEvent to AbstractAuthenticationFailureEvent The class GenericAuthenticationFailureEvent does not exist.
This commit is contained in:
parent
e7212b37f7
commit
ceb278c908
|
@ -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
|
||||
}
|
||||
----
|
||||
|
|
Loading…
Reference in New Issue