1
0
mirror of synced 2026-05-22 21:33:16 +00:00

SEC-1653: Ensure UserDetailsServiceFactoryBean is registered using the tools API to prevent errors in STS.

This commit is contained in:
Luke Taylor
2011-01-11 00:10:07 +00:00
parent 19e56f4397
commit 6de2197c0f
@@ -636,7 +636,7 @@ final class AuthenticationConfigBuilder {
}
RootBeanDefinition bean = new RootBeanDefinition(UserDetailsServiceFactoryBean.class);
bean.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
pc.getReaderContext().getRegistry().registerBeanDefinition(BeanIds.USER_DETAILS_SERVICE_FACTORY, bean);
pc.registerBeanComponent(new BeanComponentDefinition(bean, BeanIds.USER_DETAILS_SERVICE_FACTORY));
}
List<OrderDecorator> getFilters() {