Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand All @@ -28,13 +28,13 @@ Find [the latest package in the Maven repository](https://mvnrepository.com/arti
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
</dependency>
```
### 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
Expand Down
9 changes: 9 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
6 changes: 3 additions & 3 deletions msal4j-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand All @@ -28,13 +28,13 @@ Find [the latest package in the Maven repository](https://mvnrepository.com/arti
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
</dependency>
```
### 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
Expand Down
2 changes: 1 addition & 1 deletion msal4j-sdk/bnd.bnd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion msal4j-sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
<packaging>jar</packaging>
<name>msal4j</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion msal4j-sdk/src/samples/msal-b2c-web-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
Expand Down
2 changes: 1 addition & 1 deletion msal4j-sdk/src/samples/msal-obo-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
Expand Down
2 changes: 1 addition & 1 deletion msal4j-sdk/src/samples/msal-web-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.14.3</version>
<version>1.15.0</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
Expand Down