SEC-1272: <authentication-manager> does not register default event handler DefaultAuthenticationEventPublisher. Fixed Spring RC1 - RC2 regression problem with test (addApplicationListener() behaviour has changed).

This commit is contained in:
Luke Taylor 2009-11-17 14:34:43 +00:00
parent b39db5b711
commit afdd80235c
1 changed files with 0 additions and 1 deletions

View File

@ -44,7 +44,6 @@ public class AuthenticationManagerBeanDefinitionParserTests {
setContext(CONTEXT, "3.0");
AuthListener listener = new AuthListener();
appContext.addApplicationListener(listener);
appContext.refresh();
ProviderManager pm = (ProviderManager) appContext.getBeansOfType(ProviderManager.class).values().toArray()[0];
Object eventPublisher = FieldUtils.getFieldValue(pm, "eventPublisher");