cancel
Showing results for 
Search instead for 
Did you mean: 

Store LDAP Bind Password in nuxeo.conf

zyx974_
Confirmed Champ
Confirmed Champ

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 REPLIES 0