You can generate a crypt format password that obfuscates the password in the JAAS configuration file (for example, ldap_login.conf).
-
From the terminal, change the directory to extracted folder. Encrypt the password by running the command below. Replace in command with actual password.
java -cp .:crx-auth-ldap-2.3.15.jar:jcl-over-slf4j-1.6.4.jar:log4j-over-slf4j-1.6.4.jar:slf4j-api-1.6.4.jar:day-commons-text-1.1.8.jar com.day.util.ldap.SymmetricCrypt <password>
Opomba:
If you are running command on Windows, replace ":" with ";"
-
Opomba:
It's necessary that either authPw or authPwEncrypted is set. The behavior is undefined when both are set.
Prenos