Skip to content

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

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.

  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=connections_root/lib" \
       -wsadmin_classpath "connections_root/lib/lccfg.jar;connections_root/lib/jose4j-0.9.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=connections_root\lib" ^
       -wsadmin_classpath "connections_root\lib\lccfg.jar;connections_root\lib\jose4j-0.9.3.jar" ^
       -f "connections_root\bin\set_invite_pass.py" ^
       --password ldap_bind_password
      

Parent topic:Configuring self-registration for external users