Skip to content

Commit d835bca

Browse files
Bump com.microsoft.azure:msal4j from 1.18.0 to 1.20.0 in /plugins/repository-azure (#17925)
* Bump com.microsoft.azure:msal4j in /plugins/repository-azure Bumps [com.microsoft.azure:msal4j](https://github.com/AzureAD/microsoft-authentication-library-for-java) from 1.18.0 to 1.20.0. - [Release notes](https://github.com/AzureAD/microsoft-authentication-library-for-java/releases) - [Changelog](https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/changelog.txt) - [Commits](AzureAD/microsoft-authentication-library-for-java@v1.18.0...1.20.0) --- updated-dependencies: - dependency-name: com.microsoft.azure:msal4j dependency-version: 1.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Updating SHAs Signed-off-by: dependabot[bot] <[email protected]> * Update changelog Signed-off-by: dependabot[bot] <[email protected]> * Fix test failure by modifying the error message Signed-off-by: Binlong Gao <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Binlong Gao <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Binlong Gao <[email protected]>
1 parent 8ab82a0 commit d835bca

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313

1414
### Dependencies
1515
- Bump `com.github.spotbugs:spotbugs-annotations` from 4.9.0 to 4.9.3 ([#17922](https://github.com/opensearch-project/OpenSearch/pull/17922))
16+
- Bump `com.microsoft.azure:msal4j` from 1.18.0 to 1.20.0 ([#17925](https://github.com/opensearch-project/OpenSearch/pull/17925))
1617

1718
### Changed
1819

plugins/repository-azure/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161
// Start of transitive dependencies for azure-identity
6262
api 'com.microsoft.azure:msal4j-persistence-extension:1.3.0'
6363
api "net.java.dev.jna:jna-platform:${versions.jna}"
64-
api 'com.microsoft.azure:msal4j:1.18.0'
64+
api 'com.microsoft.azure:msal4j:1.20.1'
6565
api 'com.nimbusds:oauth2-oidc-sdk:11.23.1'
6666
api 'com.nimbusds:nimbus-jose-jwt:10.0.2'
6767
api 'com.nimbusds:content-type:2.3'

plugins/repository-azure/licenses/msal4j-1.18.0.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c163b6348f04a2ddf0a7655e6ed0dc1ebe9d26bc

plugins/repository-azure/src/test/java/org/opensearch/repositories/azure/AzureStorageServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public void testClientUsingManagedIdentity() throws IOException {
205205
// Expect the client to use managed identity for authentication, and it should fail because managed identity environment is
206206
// not setup in the test
207207
final MsalServiceException e = expectThrows(MsalServiceException.class, () -> client1.getAccountInfo());
208-
assertThat(e.getMessage(), containsString("HttpStatusCode: 401"));
208+
assertThat(e.getMessage(), containsString("[Managed Identity] MSI returned 401"));
209209
}
210210
}
211211
}

0 commit comments

Comments
 (0)