Add support to set "oracle.net.kerberos5_cc_name" programmatically (for multi datasource scenarios)
tiyadiashok opened this issue · 1 comments
tiyadiashok commented
I have an application which uses different credential cache for each data source when using KEREBEROS5 authentication, but as current implementation of oracle.r2dbc.OracleR2dbcOptions class does not support setting following property programmatically , I can only set one credential cache using System.setProperty("oracle.net.kerberos5_cc_name", "path_to_cc");
It would be great if following property is added to OracleR2dbcOptions in the next release
oracle.jdbc.OracleConnection.CONNECTION_PROPERTY_THIN_NET_AUTHENTICATION_KRB5_CC_NAME = "oracle.net.kerberos5_cc_name"
Michael-A-McMahon commented
Thanks for bringing this to my attention. Adding an Option should be easy enough.