Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add a new line underneath security.ldap.manager.password called security.ldap.manager.key and enter the key generated previous into this new line. You In a development deployment you do not need to remove the security.ldap.manager.dn or security.ldap.manager.password entries - if the security.ldap.manager.key is present it will be used. This should give you the following However, you SHOULD remove both lines in a live production environment so that the DN and password are not present in clear text:

Code Block
languagetext
## SPRING SECURITY LDAP CONFIG
# LDAP url, in the form ldap://HOST:PORT
security.ldap.url=ldap://directory.example.com/
# The ldap base where users and groups can be found
security.ldap.base=dc=example,dc=com
# The DN for accessing the LDAP repository
security.ldap.manager.dn=CN=serviceaccount,OU=RESOURCES,OU=FR,DC=example,DC=com
# The associated password. You can encrypt this using the aip encryption tool
security.ldap.manager.password=password
security.ldap.manager.key=A9762B77F8A5B6C0A885BABD58DFA1438D77A51B94ECA09

...