1
0
mirror of synced 2026-08-04 09:17:02 +00:00

SEC-1272: <authentication-manager> does not register default event handler DefaultAuthenticationEventPublisher. Update AuthenticationManagerBeanDefinitionParser to register a DefaultAuthenticationeventPublisher and set it on the registered ProviderManager.

This commit is contained in:
Luke Taylor
2009-11-17 12:55:53 +00:00
parent 1898b4df52
commit d4d5012035
3 changed files with 50 additions and 10 deletions
@@ -24,7 +24,7 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.util.Assert;
/**
* The default strategy used by <tt>ProviderManager</tt> for publishing authentication events.
* The default strategy for publishing authentication events.
* <p>
* Maps well-known <tt>AuthenticationException</tt> types to events and publishes them via the
* application context. If configured as a bean, it will pick up the <tt>ApplicationEventPublisher</tt> automatically.