Advanced Customization > Info*Engine Java Adapter Development > Developing an Adapter Using the JADK > Encrypting the LDAP Administrator Password
  
Encrypting the LDAP Administrator Password
This section provides information on encrypting the LDAP administrator password when you are configuring the adapter on a different host. You should encrypt the LDAP administrator password stored on the host where the adapter is installed.
For information on encrypting Windchill passwords, see the Windchill Specialized Administration Guide.
To encrypt the LDAP administrator password and create the keystore on the host where the adapter is installed, navigate to the <IeAdapter.zip_extracted_location >/bin/adminTools/sip directory on the adapter host and enter the following command:
ant -f EncryptPasswords.xml recreateKeyStoreForAdapter
As the script runs, it prompts you for the LDAP administrator password. As a result of encrypting the LDAP administrator password, you cannot view the password. The text stored in the property is generated according to the following format:
encrypted.<related name>
where <related name> is system-generated text. For example, the password value stored in the ie.ldap.managerPw property is generated as:
encrypted.ie.ldap.managerPw
This text uniquely identifies the encrypted password that is stored in the keystore file.
The keystore file itself is encrypted using a random character string and is stored in the following location:
<IeAdapter.zip_extracted_location>/bin/adminTools/sip
* 
To change the LDAP administrator password or recreate the keystore, you can rerun the EncryptPasswords.xml script with the recreateKeyStoreForAdapter target. For additional information on running the EncryptPasswords.xml script, see the Windchill Specialized Administration Guide.