Skip to content

Upgrading to new Key Vault (and MSAL) libraries#1413

Merged
lilgreenbird merged 168 commits intomicrosoft:devfrom
srnagar:keyvault-upgrade
Oct 14, 2020
Merged

Upgrading to new Key Vault (and MSAL) libraries#1413
lilgreenbird merged 168 commits intomicrosoft:devfrom
srnagar:keyvault-upgrade

Conversation

@srnagar
Copy link
Copy Markdown
Member

@srnagar srnagar commented Aug 25, 2020

This PR migrates from the previous-generation Azure Key Vault library and ADAL libraries to the more modern Azure Key Vault and MSAL equivalents.

lilgreenbird and others added 30 commits February 5, 2020 11:03
…ed by default (microsoft#1254)

* skip AKV test properly

* removed enclave properties string to failed errors as enclave tests could be skipped
… and remove try / catch in some test code where it is not required.
Copy link
Copy Markdown
Collaborator

@David-Engel David-Engel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed we might be overlooking a scenario in the code changes:
https://github.com/microsoft/mssql-jdbc/pull/1413/files#diff-0a4455f5ffd8e31e9e1badaa7822375eL4454 (Old/Left line 4454 in SQLServerConnection.java)
MSAL should be able to cover the SqlAuthentication.ActiveDirectoryIntegrated scenario, right? Previously the driver had to rely on a native call (ultimately down to adal.dll) that I believe (hope) can now be accomplished via MSAL. We can then eliminate the underlying native call.

peterbae
peterbae previously approved these changes Oct 10, 2020
Comment thread build.gradle Outdated
Comment thread src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResource.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Public API Changes in Public API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants