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:
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user