Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to set "oracle.net.kerberos5_cc_name" programmatically (for multi datasource scenarios) #123

Closed
tiyadiashok opened this issue Jun 1, 2023 · 1 comment · Fixed by #127

Comments

@tiyadiashok
Copy link

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
Copy link
Member

Thanks for bringing this to my attention. Adding an Option should be easy enough.

tiyadiashok added a commit to tiyadiashok/oracle-r2dbc that referenced this issue Jun 2, 2023
…cOptions.java

Added support to set "oracle.net.kerberos5_cc_name" programmatically. This is a fix for issue oracle#123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants