Proxy user support for HikariDataSource using Kerberos

I have Springboot application that is using the default HikariDataSource and trying to implement an Oracle connection using Kerberos. I am also using a proxy user. I have been able to configure connection but it failed due to a null reference exception.

I traced it on the OracleDatabase.tryProxySession where it is trying to call the Connection openProxySession method. It looks like the HikariProxyConnection does not have this method.

I tried HikariCP versions 3.x to 5.0. It all returned the same error.

Has anyone encountered this? Do you have a suggestion on how to solve this?
Perhaps an alternative solution?


I went around this limitation by replacing it with the OracleDataSource.