Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
c97b863
Fix AEv2 tests exclude for reqExternalSetup and cleanup (#1247)
lilgreenbird Feb 5, 2020
54b5a19
Fix | Add null check for getObject() with LocalTime and LocalDate (#1…
peterbae Feb 8, 2020
672b7d6
added all AKV tests to use reqExternalSetup tag so they will be skipp…
lilgreenbird Feb 10, 2020
3c3331b
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Mar 25, 2020
e2c5640
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Mar 26, 2020
aad6966
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Mar 28, 2020
92bf04c
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Mar 31, 2020
3ba5ab7
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Apr 4, 2020
d20823d
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Apr 7, 2020
4cc959f
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Apr 29, 2020
7b301f8
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Apr 30, 2020
56bcf13
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird May 7, 2020
744e0ca
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird May 12, 2020
df8fd41
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird May 19, 2020
652e68b
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird May 26, 2020
53736db
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird May 26, 2020
9ba6a42
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 2, 2020
6d156f7
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 5, 2020
e08ffe5
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 10, 2020
6b6cab2
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 18, 2020
f4555d6
First pass at porting to new Key Vault
JonathanGiles Jun 24, 2020
c202590
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 24, 2020
0515d4b
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 24, 2020
892eb2b
Everything now compiles, but I'm sure there are numerous bugs, and te…
JonathanGiles Jun 25, 2020
088d2f7
Beginning to re-enable some disabled unit tests
JonathanGiles Jun 25, 2020
30e7fdf
Add requirement for a tenant ID to be set to run tests
JonathanGiles Jun 25, 2020
2c63b58
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jun 25, 2020
2d62262
Minor tidy ups
JonathanGiles Jun 30, 2020
a6b75cd
Upgrade gradle file to include equivalent dependencies as in pom.xml,…
JonathanGiles Jun 30, 2020
78aa941
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jul 2, 2020
90e99cd
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jul 2, 2020
5e37322
add -DtenantID=$(tenantID)
peterbae Jul 3, 2020
1df8828
Merge pull request #1 from peterbae/keyvault-upgrade
JonathanGiles Jul 5, 2020
da1004b
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jul 6, 2020
8c9a944
Updating APIs to propagate tenantId. Still I am sure the tests will f…
JonathanGiles Jul 6, 2020
f7f12d9
Merge branch 'keyvault-upgrade' of github.com:JonathanGiles/mssql-jdb…
JonathanGiles Jul 6, 2020
cc0ac7f
Updating method call to add missing tenantId
JonathanGiles Jul 6, 2020
86fc00c
Wiring in vaultBaseUrl env var lookup for Key Vault
JonathanGiles Jul 6, 2020
8fec202
Debugging key path format (hopefully)
JonathanGiles Jul 7, 2020
9f44f0f
Clean up algorithm code
JonathanGiles Jul 7, 2020
dab428f
Adding validation for vaultBaseURL
JonathanGiles Jul 7, 2020
9ca1284
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Jul 28, 2020
c67d8ed
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Aug 1, 2020
1d0a4ad
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Aug 5, 2020
398c2d8
Fixes for Key and Crypto client
srnagar Aug 12, 2020
1b363f7
Merge pull request #2 from srnagar/keyvault-upgrade
JonathanGiles Aug 12, 2020
948939f
Merge from master
srnagar Aug 12, 2020
6d014b5
Merge pull request #3 from srnagar/keyvault-upgrade
JonathanGiles Aug 12, 2020
dcf2f79
Fix compilation errors after merging from master
srnagar Aug 12, 2020
62a83e4
Merge pull request #4 from srnagar/keyvault-upgrade
JonathanGiles Aug 12, 2020
73d160f
Add tenantID to pipeline yml
srnagar Aug 13, 2020
fba2a23
Merge pull request #5 from srnagar/keyvault-upgrade
JonathanGiles Aug 13, 2020
54642ab
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 13, 2020
f006a63
Fix unit test
srnagar Aug 13, 2020
b2db031
Merge pull request #6 from srnagar/keyvault-upgrade
JonathanGiles Aug 13, 2020
96e32f4
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 13, 2020
47a7b94
Address PR comments
srnagar Aug 18, 2020
9b1cac0
Merge remote-tracking branch 'upstream/dev' into keyvault-upgrade
srnagar Aug 18, 2020
fcf327e
Merge pull request #7 from srnagar/keyvault-upgrade
JonathanGiles Aug 18, 2020
23b7f6a
Remove tenant Id and fix adal issues
srnagar Aug 18, 2020
4121bc5
Merge pull request #8 from srnagar/keyvault-upgrade
JonathanGiles Aug 18, 2020
bca00d2
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 18, 2020
37c676d
Fix test failures
srnagar Aug 18, 2020
8e8517b
Merge pull request #9 from srnagar/keyvault-upgrade
JonathanGiles Aug 18, 2020
b2eb9cb
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 19, 2020
ee3b5c8
Use cached key and crypto clients
srnagar Aug 19, 2020
48c6dac
Merge pull request #10 from srnagar/keyvault-upgrade
JonathanGiles Aug 19, 2020
6baad02
Update license header and cleanup pipeline builder
srnagar Aug 20, 2020
a053426
Merge pull request #11 from srnagar/keyvault-upgrade
JonathanGiles Aug 20, 2020
0a3cb0f
Fix unit tests
srnagar Aug 20, 2020
1bf984a
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 20, 2020
684ecce
Merge pull request #12 from srnagar/keyvault-upgrade
JonathanGiles Aug 20, 2020
62ab01a
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 21, 2020
ef464f9
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Aug 22, 2020
e4206e1
Java 8 compatibility
srnagar Aug 24, 2020
d7c2305
Merge pull request #13 from srnagar/keyvault-upgrade
JonathanGiles Aug 24, 2020
fccc5b7
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 24, 2020
be1d739
Change Set.of to Collections.singleton()
srnagar Aug 24, 2020
1423d93
Remote tenant id from JDBC tests
srnagar Aug 24, 2020
e077ffe
Merge pull request #14 from srnagar/keyvault-upgrade
JonathanGiles Aug 24, 2020
9ad6edc
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 24, 2020
f749361
Merge remote-tracking branch 'upstream/dev' into keyvault-upgrade
srnagar Aug 24, 2020
b08233c
Merge from dev
srnagar Aug 24, 2020
49b802e
Merge pull request #15 from srnagar/keyvault-upgrade
JonathanGiles Aug 25, 2020
c7bfe70
Merge branch 'keyvault-upgrade' of https://github.com/JonathanGiles/m…
lilgreenbird Aug 25, 2020
e743268
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Aug 25, 2020
c2622e4
Merge remote-tracking branch 'upstream/dev' into keyvault-upgrade
srnagar Aug 25, 2020
ffd6a74
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Aug 26, 2020
90ccde0
Remove tenant id and reverse null checks
srnagar Aug 26, 2020
f1b1dfb
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Aug 26, 2020
d7c44b5
Fix compile errors
srnagar Aug 26, 2020
fe09531
Remove tenant id from pipelines yml
srnagar Aug 26, 2020
15db9cd
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Aug 27, 2020
8d1f462
Update javadoc
srnagar Aug 27, 2020
2251550
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Aug 28, 2020
fd98376
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Aug 28, 2020
04c05bd
formatting
lilgreenbird Aug 28, 2020
53d4408
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Aug 28, 2020
5bc6755
Merge pull request #1 from lilgreenbird/msal
srnagar Aug 28, 2020
3303022
Update src/main/java/com/microsoft/sqlserver/jdbc/ScopeTokenCache.java
lilgreenbird Sep 2, 2020
d9bad87
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Sep 2, 2020
d24dbff
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 2, 2020
59aebe6
exception handling and removed unnecessary public apis
lilgreenbird Sep 2, 2020
6b2f1a2
added header
lilgreenbird Sep 2, 2020
2e6180f
merged
lilgreenbird Sep 2, 2020
c7cd598
Merge pull request #2 from lilgreenbird/msal
srnagar Sep 2, 2020
4ef6a37
more updates
lilgreenbird Sep 2, 2020
a0644be
update
lilgreenbird Sep 2, 2020
042ade5
Merge pull request #3 from lilgreenbird/msal
srnagar Sep 2, 2020
abdf38d
merged
lilgreenbird Sep 4, 2020
573dfb9
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Sep 4, 2020
48fbe2c
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 5, 2020
a2e50b9
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Sep 9, 2020
7ff97de
enable ADintegrated tests for non-windows
lilgreenbird Sep 9, 2020
887d9b1
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 10, 2020
4a8b4f3
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 10, 2020
7cae3b4
fixed user test for kerberos
lilgreenbird Sep 11, 2020
c180e5f
Update to latest version of KV and Identity
srnagar Sep 16, 2020
d0186a9
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Sep 16, 2020
4c9b627
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 16, 2020
e863c05
user name check
lilgreenbird Sep 16, 2020
43060f9
Bring back deprecated constructors
srnagar Sep 16, 2020
c8c5a29
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Sep 16, 2020
1550a97
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Sep 16, 2020
f4825db
Resolve merge conflicts
srnagar Sep 16, 2020
b85e3c2
merged
lilgreenbird Sep 17, 2020
7d4274f
Add auth callback tests
srnagar Sep 18, 2020
2a92d4d
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Sep 19, 2020
61b787f
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Sep 22, 2020
360a8d4
lib conflict
lilgreenbird Sep 22, 2020
d76368a
Merge remote-tracking branch 'upstream/dev' into dev
lilgreenbird Sep 22, 2020
e5aafd3
Merge branch 'dev' of https://github.com/lilgreenbird/mssql-jdbc into…
lilgreenbird Sep 22, 2020
1108103
merged
lilgreenbird Sep 22, 2020
950677f
merged
lilgreenbird Sep 22, 2020
12f2da9
back to prev lib version
lilgreenbird Sep 22, 2020
2b3ccd6
fix
lilgreenbird Sep 23, 2020
497f1be
merged
lilgreenbird Sep 23, 2020
972f95c
Merge branch 'msal' of https://github.com/lilgreenbird/mssql-jdbc int…
lilgreenbird Sep 23, 2020
216d77a
fixed
lilgreenbird Sep 23, 2020
791e2b6
update
lilgreenbird Sep 23, 2020
a711913
merged
lilgreenbird Sep 23, 2020
122e408
Merge pull request #4 from lilgreenbird/msal
srnagar Sep 23, 2020
b4799ca
Remove hardcoded version and package name
srnagar Sep 24, 2020
c722d34
clean and exclude lib
lilgreenbird Sep 25, 2020
9c28d98
Add code comments and javadoc
srnagar Sep 29, 2020
338f480
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Oct 5, 2020
9010b5f
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Oct 5, 2020
da75dcc
updates
lilgreenbird Oct 5, 2020
0d509af
Merge pull request #5 from lilgreenbird/msal
srnagar Oct 5, 2020
33c276a
formatting and reive updates
lilgreenbird Oct 6, 2020
ad27b88
Rebase from remote branch
srnagar Oct 6, 2020
0899333
Update tests
srnagar Oct 6, 2020
a4a99ec
Rebase from remote branch
srnagar Oct 6, 2020
ca36f34
Update pom.xml
srnagar Oct 6, 2020
2bf012b
Merge branch 'keyvault-upgrade' of https://github.com/srnagar/mssql-j…
lilgreenbird Oct 6, 2020
9e38cc3
Merge pull request #6 from lilgreenbird/msal
srnagar Oct 6, 2020
7a035c6
review updates
lilgreenbird Oct 8, 2020
a630897
catch exception
lilgreenbird Oct 9, 2020
48cacfa
Merge pull request #7 from lilgreenbird/msal
srnagar Oct 9, 2020
793207e
added test for token credential
lilgreenbird Oct 9, 2020
1a22d78
Merge pull request #8 from lilgreenbird/msal
srnagar Oct 9, 2020
8f483e2
added tenantID property
lilgreenbird Oct 10, 2020
9fbc989
Merge remote-tracking branch 'upstream/dev' into msal
lilgreenbird Oct 10, 2020
a011ea7
Merge pull request #9 from lilgreenbird/msal
srnagar Oct 10, 2020
d8f20da
updated error msgs
lilgreenbird Oct 13, 2020
c6d444c
update version
lilgreenbird Oct 13, 2020
f7aeb12
Update README.md
lilgreenbird Oct 13, 2020
61ee2d4
Merge pull request #10 from lilgreenbird/msal
srnagar Oct 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 13 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,8 @@ Starting from version 7.0.0, the driver Jars (jre10 and above) will expose 'Auto
This project has following dependencies:

Compile Time:
- `com.microsoft.azure:azure-keyvault` : Azure Key Vault Provider for Always Encrypted Azure Key Vault feature (optional)
- `com.microsoft.azure:azure-keyvault-webkey` : Azure Key Vault Provider for Always Encrypted Azure Key Vault feature (optional)
- `com.microsoft.azure:adal4j` : Azure Active Directory Library for Java for Azure Active Directory Authentication feature and Azure Key Vault feature (optional)
- `com.microsoft.rest:client-runtime` : Azure Active Directory Library for Java for Azure Active Directory Authentication feature and Azure Key Vault feature (optional)
- `com.azure:azure-security-keyvault-keys` : Microsoft Azure Client Library For KeyVault Keys (optional)
- `com.azure:azure-identity` : Microsoft Azure Client Library For Identity (optional)
- `org.bouncycastle:bcprov-jdk15on` : Bouncy Castle Provider for Always Encrypted with secure enclaves feature with JAVA 8 only (optional)
- `com.google.code.gson:gson` : Gson for Always Encrypted with secure enclaves feature (optional)

Expand All @@ -123,7 +121,7 @@ mvn dependency:tree
### Azure Key Vault and Azure Active Directory Authentication Dependencies
Projects that require either of the two features need to explicitly declare the dependency in their pom file.

***For Example:*** If you are using *Azure Active Directory Authentication feature* then you need to redeclare *adal4j* and *client-runtime* dependency in your project's POM file. Please see the following snippet:
***For Example:*** If you are using *Azure Active Directory Authentication feature* then you need to declare the *azure-identity* dependency in your project's POM file. Please see the following snippet:

```xml
<dependency>
Expand All @@ -134,19 +132,14 @@ Projects that require either of the two features need to explicitly declare the
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.6.5</version>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.1.3</version>
</dependency>

<dependency>
<groupId>com.microsoft.rest</groupId>
<artifactId>client-runtime</artifactId>
<version>1.7.4</version>
</dependency>
```

***For Example:*** If you are using *Azure Key Vault feature* then you need to redeclare *azure-keyvault*, *azure-keyvault-webkey* dependency and *adal4j*, *client-runtime* dependency in your project's POM file. Please see the following snippet:
***For Example:*** If you are using *Azure Key Vault feature* then you need to declare the *azure-identity* and *azure-security-keyvault-keys* dependencies in your project's POM file. Please see the following snippet:

```xml
<dependency>
Expand All @@ -157,21 +150,15 @@ Projects that require either of the two features need to explicitly declare the
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>1.6.5</version>
</dependency>

<dependency>
<groupId>com.microsoft.rest</groupId>
<artifactId>client-runtime</artifactId>
<version>1.7.4</version>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.1.3</version>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<version>1.2.4</version>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>4.2.1</version>
</dependency>
```

Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean dependency:purge-local-repository -DdllPath=$(Agent.TempDirectory) -Dmssql_jdbc_test_connection_properties=jdbc:sqlserver://$(Target_SQL)$(server_domain);$(database);$(user);$(password); install -Pjre15 -DuserNTLM=$(userNTLM) -DpasswordNTLM=$(passwordNTLM) -DdomainNTLM=$(domainNTLM) -DexcludedGroups=$(Ex_Groups) -Dpkcs12_truststore_password=$(pkcs12_truststore_password) -Dpkcs12_truststore=$(pkcs12_truststore.secureFilePath)
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DtenantID=$(tenantID) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
testResultsFiles: '**/TEST-*.xml'
testRunTitle: 'Maven build jre15'
javaHomeOption: Path
Expand All @@ -54,7 +54,7 @@ jobs:
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean dependency:purge-local-repository -DdllPath=$(Agent.TempDirectory) -Dmssql_jdbc_test_connection_properties=jdbc:sqlserver://$(Target_SQL)$(server_domain);$(database);$(user);$(password); install -Pjre11 -DuserNTLM=$(userNTLM) -DpasswordNTLM=$(passwordNTLM) -DdomainNTLM=$(domainNTLM) -DexcludedGroups=$(Ex_Groups) -Dpkcs12_truststore_password=$(pkcs12_truststore_password) -Dpkcs12_truststore=$(pkcs12_truststore.secureFilePath)
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DtenantID=$(tenantID) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
testResultsFiles: '**/TEST-*.xml'
testRunTitle: 'Maven build jre11'
javaHomeOption: Path
Expand All @@ -64,7 +64,7 @@ jobs:
inputs:
mavenPomFile: 'pom.xml'
goals: 'clean dependency:purge-local-repository -DdllPath=$(Agent.TempDirectory) -Dmssql_jdbc_test_connection_properties=jdbc:sqlserver://$(Target_SQL)$(server_domain);$(database);$(user);$(password); install -Pjre8 -DuserNTLM=$(userNTLM) -DpasswordNTLM=$(passwordNTLM) -DdomainNTLM=$(domainNTLM) -DexcludedGroups=$(Ex_Groups) -Dpkcs12_truststore_password=$(pkcs12_truststore_password) -Dpkcs12_truststore=$(pkcs12_truststore.secureFilePath)
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DtenantID=$(tenantID) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
testResultsFiles: '**/TEST-*.xml'
testRunTitle: 'Maven build jre8'
javaHomeOption: Path
Expand Down
22 changes: 10 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,12 @@ repositories {
dependencies {
compile 'org.osgi:org.osgi.core:6.0.0',
'org.osgi:org.osgi.compendium:5.0.0'
compileOnly 'com.microsoft.azure:azure-keyvault:1.2.2',
'com.microsoft.azure:azure-keyvault-webkey:1.2.1',
'com.microsoft.rest:client-runtime:1.7.0',
'com.microsoft.azure:adal4j:1.6.4',
compileOnly 'com.azure:azure-security-keyvault-keys:4.2.1',
'com.azure:azure-identity:1.1.3',
'org.antlr:antlr4-runtime:4.7.2',
'com.google.code.gson:gson:2.8.6',
'org.bouncycastle:bcprov-jdk15on:1.64',
'org.bouncycastle:bcpkix-jdk15on:1.64'
'org.bouncycastle:bcprov-jdk15on:1.65',
'org.bouncycastle:bcpkix-jdk15on:1.65'
testCompile 'org.junit.platform:junit-platform-console:1.5.2',
'org.junit.platform:junit-platform-commons:1.5.2',
'org.junit.platform:junit-platform-engine:1.5.2',
Expand All @@ -127,15 +125,15 @@ dependencies {
'org.junit.jupiter:junit-jupiter-api:5.6.0',
'org.junit.jupiter:junit-jupiter-engine:5.6.0',
'org.junit.jupiter:junit-jupiter-params:5.6.0',
'com.zaxxer:HikariCP:3.4.1',
'org.apache.commons:commons-dbcp2:2.6.0',
'com.zaxxer:HikariCP:3.4.2',
'org.apache.commons:commons-dbcp2:2.7.0',
'org.slf4j:slf4j-nop:1.7.29',
'org.antlr:antlr4-runtime:4.7.2',
'org.eclipse.gemini.blueprint:gemini-blueprint-mock:2.1.0.RELEASE',
'com.google.code.gson:gson:2.8.6',
'org.bouncycastle:bcprov-jdk15on:1.64',
'com.microsoft.azure:adal4j:1.6.4',
'com.microsoft.azure:azure-keyvault:1.2.2',
'com.microsoft.azure:azure-keyvault-webkey:1.2.1',
'org.bouncycastle:bcprov-jdk15on:1.65',
'com.azure:azure-security-keyvault-keys:4.2.1',
'com.azure:azure-identity:1.1.3',
'com.microsoft.azure:adal4j:1.6.5',
'com.h2database:h2:1.4.200'
}
27 changes: 16 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
<releaseExt>-preview</releaseExt>

<!-- Driver Dependencies -->
<azure.keyvault.version>1.2.4</azure.keyvault.version>
<azure.keyvault.version>4.2.1</azure.keyvault.version>
Comment thread
lilgreenbird marked this conversation as resolved.
<azure.identity.version>1.1.3</azure.identity.version>
<azure.adal4j.version>1.6.5</azure.adal4j.version>
<rest.client.version>1.7.4</rest.client.version>
<osgi.core.version>6.0.0</osgi.core.version>
<osgi.comp.version>5.0.0</osgi.comp.version>
<antlr.runtime.version>4.7.2</antlr.runtime.version>
Expand All @@ -86,23 +86,28 @@

<dependencies>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-keys</artifactId>
<version>${azure.keyvault.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>${azure.identity.version}</version>
<exclusions>
<exclusion>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>adal4j</artifactId>
<version>${azure.adal4j.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.microsoft.rest</groupId>
<artifactId>client-runtime</artifactId>
<version>${rest.client.version}</version>
<optional>true</optional>
</dependency>

<!-- dependencies for ANTLR -->
<dependency>
Expand Down
90 changes: 0 additions & 90 deletions src/main/java/com/microsoft/sqlserver/jdbc/KeyVaultCredential.java

This file was deleted.

Loading