Is it possible to use Oracle Wallet in MyBatis?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to use Oracle Wallet in MyBatis?

Tomás Ortí
Our customer is interested in using Oracle Wallet.
Which is a mechanism Oracle provides to manage database login credentials.
So the username & password are not provided in plain text but in two encrypted files stored in a secure location.

We are using our custom datasource, i.e., we do not use the three build-in dataSource types ([UNPOOLED|POOLED|JNDI]) documented here:

So, we rely on Oracle Universal Connection Pool (UCP), using oracle.ucp.jdbc.PoolDataSource;
Check these images to see how we customized it.


mybatis.xml.png


OracleFactory.java.PNG


OracleDataSource.java.PNG



This is working fine, though we want to incorporate Oracle Wallet.
I am currently having difficulties in implementing a solution for it.
Has anyone tried this?

Best Regards.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/b213e7ed-4eaf-4ba7-8936-d2e9083d4500%40googlegroups.com.