Corrected AuthenticationEventPublisher Type
This commit is contained in:
parent
00e4a8fb54
commit
d23f283598
|
@ -107,7 +107,7 @@ public AuthenticationEventPublisher authenticationEventPublisher
|
|||
Map<Class<? extends AuthenticationException>,
|
||||
Class<? extends AbstractAuthenticationFailureEvent>> mapping =
|
||||
Collections.singletonMap(FooException.class, FooEvent.class);
|
||||
AuthenticationEventPublisher authenticationEventPublisher =
|
||||
DefaultAuthenticationEventPublisher authenticationEventPublisher =
|
||||
new DefaultAuthenticationEventPublisher(applicationEventPublisher);
|
||||
authenticationEventPublisher.setAdditionalExceptionMappings(mapping);
|
||||
return authenticationEventPublisher;
|
||||
|
|
Loading…
Reference in New Issue