SEC-1806: Log that bean definition is being created rather than bean in LdapServerBDP.
This commit is contained in:
parent
09ac4bd8f9
commit
30088f19ae
|
@ -123,7 +123,7 @@ public class LdapServerBeanDefinitionParser implements BeanDefinitionParser {
|
||||||
apacheContainer.getConstructorArgumentValues().addGenericArgumentValue(ldifs);
|
apacheContainer.getConstructorArgumentValues().addGenericArgumentValue(ldifs);
|
||||||
apacheContainer.getPropertyValues().addPropertyValue("port", port);
|
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)) {
|
if (parserContext.getRegistry().containsBeanDefinition(BeanIds.EMBEDDED_APACHE_DS)) {
|
||||||
parserContext.getReaderContext().error("Only one embedded server bean is allowed per application context",
|
parserContext.getReaderContext().error("Only one embedded server bean is allowed per application context",
|
||||||
|
|
Loading…
Reference in New Issue