We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00e4a8f commit d23f283Copy full SHA for d23f283
docs/modules/ROOT/pages/servlet/authentication/events.adoc
@@ -107,7 +107,7 @@ public AuthenticationEventPublisher authenticationEventPublisher
107
Map<Class<? extends AuthenticationException>,
108
Class<? extends AbstractAuthenticationFailureEvent>> mapping =
109
Collections.singletonMap(FooException.class, FooEvent.class);
110
- AuthenticationEventPublisher authenticationEventPublisher =
+ DefaultAuthenticationEventPublisher authenticationEventPublisher =
111
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
112
authenticationEventPublisher.setAdditionalExceptionMappings(mapping);
113
return authenticationEventPublisher;
0 commit comments