Announcement Announcement Module
Collapse
No announcement yet.
LDAP: how to inject properties into <ldap:pooling> Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • LDAP: how to inject properties into <ldap:pooling>

    I have the following config:
    Code:
    <ldap:context-source id="myLdapHost" url="ldap://${tf.ldap.host}:${tf.ldap.port}"
            username="anonymous" password="doyoucare" anonymous-read-only="true">
            <ldap:pooling test-on-borrow="true" max-active="50"/>
    </ldap:context-source>
    I would like to set max-active using value from properties file, like max-active="${ldap.poolsize}", but <ldap: pooling> thinks it is a string and doesn't like it. Is there a way to accomplish this?

    Thanks,
Working...
X