How to encrypt database password in repository.xml file for JBoss BRMS 5.3.x?
Issue
We are using another database as an external RDBMS (e.g. Postgres). Cleartext credentials are currently used in repository.xml, as the following example shows:
<PersistenceManager class="org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager">
<param name="driver" value="org.postgresql.Driver"/>
<param name="url" value="jdbc:postgresql://localhost:5432/BRMS"/>
<param name="user" value="MY_USER"/>
<param name="password" value="MY_PASSWORD"/>
<param name="schema" value="postgresql"/>
<param name="schemaObjectPrefix" value="Versioning_PM_" />
</PersistenceManager>
- How to encrypt database password in this file ?
Environment
- JBoss Enterprise Business Rules Management System (BRMS) 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.