oracle-samples / oracle-db-examples

Examples of applications and tool usage for Oracle Database
https://www.oracle.com/database/technologies/
Other
1.31k stars 829 forks source link

Code Sample - Use Windows SSPI API to generate Kerberos ticket for JDBC SSO #364

Closed ibre5041 closed 3 months ago

ibre5041 commented 3 months ago

Since Windows 2019 (Windows 10) credentials guard is in place and JVM can not access Kerberos TGT any more. Registry key allowtgtsessionkey is ignored. The only way is to use SSPI API (through JVM's sspi_bridge.dll) to generate Kerberos ticket and then use OracleConnectionBuilder to connect to database using Kerberos ticket.

oracle-contributor-agreement[bot] commented 3 months ago

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.