To make use of vault store, have created keystore to hold application sensitive info,
<datasource jndi-name="java:/Test_VDB" pool-name="Test_VDB" enabled="true">
<connection-url>jdbc:teiid:Test_VDB</connection-url>
<driver>teiid</driver>
<security>
<user-name>dvuser</user-name>
<password>${VAULT::ds_creds::mysql_creds::1}</password>
</security>
</datasource>
I have created my data source configuration to my VDB like this. Ideally when I connect from a client, have to specify the url and the above username and password to connect to.
But what happening is, there is an entry in the standalone-teiid.xml file,
<transport name="jdbc" socket-binding="teiid-jdbc" protocol="teiid">
<authentication security-domain="teiid-security"/>
</transport>
which binds teiid-jdbc to 31000.
When I try to connect to VDB using the vault credentials, my request is blocked, rather if I try to connect using teiid-security credentials, it is going through. By doing so, whatever I configure as credentials in the data source definition is meaningless.
How can I delegate my teiid-security to refer to the security aspects defined under datasource?