1 Reply Latest reply on Feb 10, 2016 8:56 AM by Ramesh Reddy

    Teiid datasource encryption

    S CHANDAK Newbie

      Do anyone know if it is possible to encrypt data source password in standalone-teiid.xml file? As I am using teiid to connect to Cassandra database.

       

      here is my configuration at standalone-teiid.xml

       

      <resource-adapter id="cassandra">

       

                          <module slot="main" id="org.jboss.teiid.resource-adapter.cassandra"/>

                          <transaction-support>NoTransaction</transaction-support>

                          <connection-definitions>

                              <connection-definition class-name="org.teiid.resource.adapter.cassandra.CassandraManagedConnectionFactory" jndi-name="java:/cassandraDS" enabled="true" use-java-context="true" pool-name="teiid-cassandra-ds">

                                  <config-property name="Port">

                                      9042

                                  </config-property>

                                  <config-property name="Keyspace">

                                     

                                  </config-property>

                                  <config-property name="Username">

                                     

                                  </config-property>

                                  <config-property name="Address">

                                     

                                  </config-property>

                                  <config-property name="Password">

                                      canIEncryptPassword???

                                  </config-property>

                              </connection-definition>

                          </connection-definitions>

                      </resource-adapter>

       

      I don't see any encrypt/decrypt logic at CassandraManagedConnectionFactory. I can add my own factory but I prefer is there are any existing solution available.