Corrected cut and paste error when parsing jdbc-user-service within AuthenticationProvider BDP.
This commit is contained in:
parent
ea8914f9ba
commit
27de29f469
|
@ -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" );
|
||||
|
|
Loading…
Reference in New Issue