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 =
|
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
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
|
Loading…
Reference in New Issue