Encrypted passwords with the Pentaho Report Designer
The Pentaho Report Designer (PRD) stores a password in the default.properties file of the JNDI connection. For information about setting up a JNDI connection, see the article Define JNDI connections for Report Designer and Metadata Editor.
Perform the following steps to use an encrypted password with the PRD:
Stop the server.
For instructions on stopping the server, see Stop and start the Pentaho Server and repository.
Navigate to the
design-tools/report-designer/configuration-template/simple-jndidirectory.Open the
default.propertiesfile with any text editor.Replace the password value in every property in the file with the encrypted password.
Note: If you are using a remote repository, adjust the localhost address to the correct IP. Also, make sure you use the encrypted password for all occurrences of the password.
Save and close the file.
Copy the
default.propertiesfile from thedesign-tools/report-designer/configuration-template/simple-jndidirectory to the.pentaho/simple-jndidirectory in the user’s home directory and replace the existingdefault.propertiesfile.Note: If there is no existing
<*user\_HOME\_folder*>.pentaho/simple-jndidirectory, create the directory and copy thedefault.propertiesfile into the directory that you create.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
Was this helpful?

