diff --git a/README.md b/README.md index 884c90ae..4a4d7064 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Quick links: The library supports the following Java environments: - Java 8 (or higher) -Current version - 1.14.3 +Current version - 1.15.0 You can find the changes for each version in the [change log](https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/main/msal4j-sdk/changelog.txt). @@ -28,13 +28,13 @@ Find [the latest package in the Maven repository](https://mvnrepository.com/arti com.microsoft.azure msal4j - 1.14.3 + 1.15.0 ``` ### Gradle ```gradle -implementation group: 'com.microsoft.azure', name: 'com.microsoft.aad.msal4j', version: '1.14.3' +implementation group: 'com.microsoft.azure', name: 'com.microsoft.aad.msal4j', version: '1.15.0' ``` ## Usage diff --git a/changelog.txt b/changelog.txt index e50b61c1..74942bd3 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,12 @@ +Version 1.15.0 +============= +- GA support for Azure managed identity scenarios +- Support managed identities in Azure Functions, App Service, IMDS (#661) +- Support MI in Cloud Shell (#713) +- Support MI in Service Fabric (#729) +- Support MI in Azure Arc (#730) +- Adjust loopback address binding in interactive flow (#797) + Version 1.14.3 ============= - Hotfix to update oauth2-oidc-sdk dependency (#781) diff --git a/msal4j-sdk/README.md b/msal4j-sdk/README.md index 1ade7ec6..d900a557 100644 --- a/msal4j-sdk/README.md +++ b/msal4j-sdk/README.md @@ -16,7 +16,7 @@ Quick links: The library supports the following Java environments: - Java 8 (or higher) -Current version - 1.14.3 +Current version - 1.15.0 You can find the changes for each version in the [change log](https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/master/changelog.txt). @@ -28,13 +28,13 @@ Find [the latest package in the Maven repository](https://mvnrepository.com/arti com.microsoft.azure msal4j - 1.14.3 + 1.15.0 ``` ### Gradle ```gradle -compile group: 'com.microsoft.azure', name: 'msal4j', version: '1.14.3' +compile group: 'com.microsoft.azure', name: 'msal4j', version: '1.15.0' ``` ## Usage diff --git a/msal4j-sdk/bnd.bnd b/msal4j-sdk/bnd.bnd index 447a9428..0c67fd07 100644 --- a/msal4j-sdk/bnd.bnd +++ b/msal4j-sdk/bnd.bnd @@ -1,2 +1,2 @@ -Export-Package: com.microsoft.aad.msal4j;version="1.14.3" +Export-Package: com.microsoft.aad.msal4j;version="1.15.0" Automatic-Module-Name: com.microsoft.aad.msal4j diff --git a/msal4j-sdk/pom.xml b/msal4j-sdk/pom.xml index b08976f1..b409bf45 100644 --- a/msal4j-sdk/pom.xml +++ b/msal4j-sdk/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.microsoft.azure msal4j - 1.14.3 + 1.15.0 jar msal4j diff --git a/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/HttpListener.java b/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/HttpListener.java index c5b5693e..0e168582 100644 --- a/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/HttpListener.java +++ b/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/HttpListener.java @@ -26,12 +26,9 @@ class HttpListener { void startListener(int port, HttpHandler httpHandler) { try { - // since we only allow loopback address, we can use InetAddress.getLoopbackAddress() directly - // why? because currently we are creating Socket using InetSocketAddress(port) - // which is using wildcard address, so it will attempt to bind to all available network interfaces - // that includes private IP like 192.168.x.x, 10.x.x.x, etc. - // which in turns, will trigger the firewall prompt + //Originally this created a listener on the wildcard address from InetSocketAddress(port), which could cause firewall issues: // https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/796 + //Since only loopback addresses are allowed for the flow that uses this listener, we now just use the loopback address instead server = HttpServer.create(new InetSocketAddress(InetAddress.getLoopbackAddress(), port), 0); server.createContext("/", httpHandler); this.port = server.getAddress().getPort(); diff --git a/msal4j-sdk/src/samples/msal-b2c-web-sample/pom.xml b/msal4j-sdk/src/samples/msal-b2c-web-sample/pom.xml index 37932b3c..ed7e240d 100644 --- a/msal4j-sdk/src/samples/msal-b2c-web-sample/pom.xml +++ b/msal4j-sdk/src/samples/msal-b2c-web-sample/pom.xml @@ -23,7 +23,7 @@ com.microsoft.azure msal4j - 1.14.3 + 1.15.0 com.nimbusds diff --git a/msal4j-sdk/src/samples/msal-obo-sample/pom.xml b/msal4j-sdk/src/samples/msal-obo-sample/pom.xml index 393a587e..dfe810cd 100644 --- a/msal4j-sdk/src/samples/msal-obo-sample/pom.xml +++ b/msal4j-sdk/src/samples/msal-obo-sample/pom.xml @@ -23,7 +23,7 @@ com.microsoft.azure msal4j - 1.14.3 + 1.15.0 com.nimbusds diff --git a/msal4j-sdk/src/samples/msal-web-sample/pom.xml b/msal4j-sdk/src/samples/msal-web-sample/pom.xml index 7698afe7..7d4ccda0 100644 --- a/msal4j-sdk/src/samples/msal-web-sample/pom.xml +++ b/msal4j-sdk/src/samples/msal-web-sample/pom.xml @@ -23,7 +23,7 @@ com.microsoft.azure msal4j - 1.14.3 + 1.15.0 com.nimbusds