Store LDAP Bind Password in nuxeo.conf

Hi,

I can use LDAP authentication with success. Everything is OK.

But I would like to store the bind password in NUXEO.CONF instead of XML extension point.

Is this possible ?

I tried to use ${Runtime.getProperty('nuxeo.conf.param')} without success like this

<extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="servers">
    <server name="default">
        <ldapUrl>ldap://ldap1:3268</ldapUrl>
        <ldapUrl>ldap://ldap2:3268</ldapUrl>
        <bindDn>${Runtime.getProperty('nuxeo.ldap.binddn')}</bindDn>
        <bindPassword>${Runtime.getProperty('nuxeo.ldap.bindpassword')}</bindPassword>
    </server>
</extension>

Regards.

0 votes

0 answers

228 views

ANSWER