All,
I am using Modeshape 3.8.0 Final and infirnispan 5.3.0.Final.
My modeshape-repository-config.json refers to the infinispan-config.xml.
infinispan uses stringKeyedJdbcStore, the JDBC connection details are specified as follows
<stringKeyedJdbcStore xmlns="urn:infinispan:config:jdbc:5.2" fetchPersistentState="false" ignoreModifications="false" purgeOnStartup="false"> | |||||||
<connectionPool driverClass="oracle.jdbc.driver.OracleDriver" | |||||||
connectionUrl="jdbc:oracle:thin:@localhost:1521:xe" | |||||||
username="test" password="test"/> |
I would like to know how to encrypt the password?
Currently its a clearText and I need to store as an encrypted string.
Is this supported out of the box?
regards
We don't have a direct solution for this. The proper way to do this is to use an externally managed datasource provider which supports this (e.g. WildFly/EAP's connection pooling) and replace <connectionPool /> with <data-source jndi-url="..." />