Skip to content

Commit e7212b3

Browse files
stefanganzerjzheaux
authored andcommitted
Update events.adoc
Changes type to DefaultAuthenticationEventPublisher Only DefaultAuthenticationEventPublisher has the method setDefaultAuthenticationFailureEvent, but not the interface AuthenticationEventPublisher.
1 parent a9aefaf commit e7212b3

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Java::
143143
@Bean
144144
public AuthenticationEventPublisher authenticationEventPublisher
145145
(ApplicationEventPublisher applicationEventPublisher) {
146-
AuthenticationEventPublisher authenticationEventPublisher =
146+
DefaultAuthenticationEventPublisher authenticationEventPublisher =
147147
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
148148
authenticationEventPublisher.setDefaultAuthenticationFailureEvent
149149
(GenericAuthenticationFailureEvent.class);

0 commit comments

Comments
 (0)