Managing encryption of Git passwords in LDAP for Talend Administration Center - 8.0

Talend Installation Guide

Operating system
Subscription type
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Installation and Upgrade
Last publication date
If you are using LDAP authentication in Talend Administration Center, you may want to encrypt the Git password that is stored in it. Once you have encrypted your password, you need to compile a Java class that will allow you to manage password decryption in Talend Administration Center.

Before you begin

  • You have previously encrypted your password using the library of your choice. This library will be used both to encrypt and decrypt your password.
  • The Tomcat server holding Talend Administration Center is stopped.


  1. Create a class file named based on the following code:
    import org.talend.administrator.common.crypto.LDAPCrypto;
    public class DecryptLdapPassword implements LDAPCrypto {
        public String decrypt(String encryptedPassword) throws Exception {
            String decryptedPassword = null;
            // instructions to decrypt password
            return decryptedPassword;
  2. If you are using an IDE:
    1. Add the <TalendAdministrationCenterPath>/WEB-INF/classes folder of your Talend Administration Center application to the classpath of your project.
    2. Add your algorithm library to the classpath.
    3. Insert required instructions to decrypt the Git password stored in LDAP.

    If you are not using an IDE:

    1. Execute the following command to compile the JAR used for your decryption library as well as the Java class in the directory of your choice:

      On UNIX systems:

      cd <directoryOfMyJavaClass_DecryptLdapPassword>
      javac -classpath .:/org.talend.administrator-6.0.1-SNAPSHOT/WEB-INF/classes/:<myDirectory>/encryptionAlgorithm.jar

      On Windows systems:

      cd directoryOfMyJavaClass_DecryptLdapPassword
      javac -classpath .;c:\org.talend.administrator-6.0.1-SNAPSHOT\WEB-INF\classes\;c:\my\directory\encryptionAlgorithm.jar
  3. Get the compiled class DecryptLdapPassword.class and copy it to the following directory: <TalendAdministrationCenterPath>/WEB-INF/classes
  4. Open the file <TalendAdministrationCenterPath>/WEB-INF/classes/, uncomment the ldap.decryption.class= line and enter the class you have compiled as value of the property.
  5. Copy the JAR file used for the encryption algorithm in the following folder: <TalendAdministrationCenterPath>/WEB-INF/lib
  6. Restart the Tomcat server.