SEC-1806: Log that bean definition is being created rather than bean in LdapServerBDP.

This commit is contained in:
Luke Taylor 2011-10-31 23:50:06 +00:00
parent 09ac4bd8f9
commit 30088f19ae
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class LdapServerBeanDefinitionParser implements BeanDefinitionParser {
apacheContainer.getConstructorArgumentValues().addGenericArgumentValue(ldifs);
apacheContainer.getPropertyValues().addPropertyValue("port", port);
logger.info("Embedded LDAP server bean created for URL: " + url);
logger.info("Embedded LDAP server bean definition created for URL: " + url);
if (parserContext.getRegistry().containsBeanDefinition(BeanIds.EMBEDDED_APACHE_DS)) {
parserContext.getReaderContext().error("Only one embedded server bean is allowed per application context",