(Optional) Encoding the LDAP password in self-registration-confg.xml

About this task

The password for the LDAP BindDN in Invite’s selfregistration-config.xml can optionally be XOR-encoded. For this, the set_invite_pass.py wsadmin script provided by the Connections installation can be used to encode the given password and persist it in the configuration file.

Procedure

  1. Locate the wsadmin script to execute the command with: Open a command prompt and then change to the following directory of the system on which you installed the deployment manager: app_server_root/profiles/dm_profile_root/bin
  2. Enter the following command to encode and store the password:
    • Linux:
      ./wsadmin.sh -lang jython \
       -host dmgr.connections.example.com \
       -javaoption "-Dpython.path=app_server_root/lib" \
       -wsadmin_classpath "app_server_root/lib/lccfg.jar;app_server_root/lib/jose4j-0.6.3.jar" \
       -f "connections_root/bin/set_invite_pass.py"\
       --password ldap_bind_password
      
    • Windows:
      wsadmin.bat -lang jython ^
       -host dmgr.connections.example.com ^
       -javaoption "-Dpython.path=app_server_root\lib" ^
       -wsadmin_classpath "app_server_root\lib\lccfg.jar;app_server_root\lib\jose4j-0.6.3.jar" ^
       -f "connections_root\bin\set_invite_pass.py" ^
       --password ldap_bind_password