Skip to content

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

Closed
ibre5041 wants to merge 2 commits intooracle-samples:mainfrom
ibre5041:main
Closed

Code Sample - Use Windows SSPI API to generate Kerberos ticket for JDBC SSO#365
ibre5041 wants to merge 2 commits intooracle-samples:mainfrom
ibre5041:main

Conversation

@ibre5041
Copy link
Copy Markdown
Member

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.

Signed-off-by: Ivan Brezina <ibrezina@ibrezina.net>
@oracle-contributor-agreement
Copy link
Copy Markdown

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.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Jun 19, 2024
@ibre5041 ibre5041 closed this Apr 18, 2025
@ibre5041
Copy link
Copy Markdown
Member Author

Will try to open PR again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant