Encrypted passwords with the Pentaho Aggregation Designer
To use encrypted passwords with Pentaho Aggregation Designer, you must first centralize your passwords in a jndi.properties file.
Perform the following steps to use an encrypted password with the Pentaho Aggregation Designer.
Stop the server.
For instructions on stopping the server, see Stop and start the Pentaho Server and repository.
Create a
jndi.propertiesfile to set the default properties using the following code:java.naming.factory.initial=org.osjava.sj.SimpleContextFactory org.osjava.sj.root=file://C:/Users/<*username*>/.pentaho/simple-jndi org.osjava.sj.delimiter=/Save the
jndi.propertiesfile in thedesign-tools/aggregation-designer/libdirectory and close the file.In the user’s home directory, navigate to the
.pentaho/simple-jndidirectory and open thedefault.propertiesfile with any text editor.If you do not have a
default.propertiesfile in the<user_HOME_folder>.pentaho/simple-jndidirectory, then create asimple-jndidirectory in thedesign-tools/aggregation-designerdirectory and create adefault.propertiesfile in that directory.Change the following
jndi.propertiesfile in thedesign-tools/aggregation-designer/libdirectory to indicate the new location of thedefault.propertiesfile as shown in the following example:org.osjava.sj.root=file://<*install directory*>/design-tools/aggregation-designer/simple-jndi
Replace the password value in every property in the
default.propertiesfile with the encrypted password.Note: If you are using a remote repository, you must change localhost to the correct IP address of the remote repository.
Save and close the file.
Restart the server and verify that all passwords are now using encrypted values.
After you have configured an application to use encrypted passwords, all logins with the Pentaho application will use the encrypted passwords.
Connect to any databases that were edited to ensure all changes are operating correctly.
Last updated

