Corrected cut and paste error when parsing jdbc-user-service within AuthenticationProvider BDP.

This commit is contained in:
Luke Taylor 2007-12-23 01:26:46 +00:00
parent ea8914f9ba
commit 27de29f469
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class AuthenticationProviderBeanDefinitionParser implements BeanDefinitionParser
if (userServiceElt != null) {
userDetailsService = new UserServiceBeanDefinitionParser().parse(userServiceElt, parserContext);
} else if (jdbcUserServiceElt != null) {
userDetailsService = new UserServiceBeanDefinitionParser().parse(userServiceElt, parserContext);
userDetailsService = new JdbcUserServiceBeanDefinitionParser().parse(jdbcUserServiceElt, parserContext);
} else {
throw new SecurityConfigurationException(Elements.AUTHENTICATION_PROVIDER
+ " requires a UserDetailsService" );