Update events.adoc
Changes type to DefaultAuthenticationEventPublisher Only DefaultAuthenticationEventPublisher has the method setDefaultAuthenticationFailureEvent, but not the interface AuthenticationEventPublisher.
This commit is contained in:
parent
a9aefafb76
commit
e7212b37f7
|
@ -143,7 +143,7 @@ Java::
|
|||
@Bean
|
||||
public AuthenticationEventPublisher authenticationEventPublisher
|
||||
(ApplicationEventPublisher applicationEventPublisher) {
|
||||
AuthenticationEventPublisher authenticationEventPublisher =
|
||||
DefaultAuthenticationEventPublisher authenticationEventPublisher =
|
||||
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
|
||||
authenticationEventPublisher.setDefaultAuthenticationFailureEvent
|
||||
(GenericAuthenticationFailureEvent.class);
|
||||
|
|
Loading…
Reference in New Issue