SEC-890: Corrected use of dataSource property name in RememberMeBDP.

This commit is contained in:
Luke Taylor
2008-06-18 10:35:30 +00:00
parent 7d79ae5424
commit af5f193ec1
2 changed files with 16 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ public class RememberMeBeanDefinitionParser implements BeanDefinitionParser {
tokenRepo = new RuntimeBeanReference(tokenRepository);
} else {
tokenRepo = new RootBeanDefinition(JdbcTokenRepositoryImpl.class);
((BeanDefinition)tokenRepo).getPropertyValues().addPropertyValue(ATT_DATA_SOURCE,
((BeanDefinition)tokenRepo).getPropertyValues().addPropertyValue("dataSource",
new RuntimeBeanReference(dataSource));
}
services.getPropertyValues().addPropertyValue("tokenRepository", tokenRepo);