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