You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version changes for msal4j-brokers 1.0.3-beta and msal4j 1.14.3-beta (#734)
* Ensure correlation ID is never null
* Version changes for msal4j-brokers 1.0.3-beta and msal4j 1.14.3-beta
* Ensure that builder values for supported OS's are used
Copy file name to clipboardExpand all lines: msal4j-brokers/src/main/java/com/microsoft/aad/msal4jbrokers/Broker.java
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,9 @@ public static class Builder {
255
255
publicBuilder() {
256
256
}
257
257
258
+
/**
259
+
* When set to true, MSAL Java will attempt to use the broker when the application is running on a Windows OS
260
+
*/
258
261
publicBuildersupportWindows(booleanval) {
259
262
supportWindows = val;
260
263
returnthis;
@@ -266,6 +269,12 @@ public Broker build() {
266
269
}
267
270
268
271
privateBroker(Builderbuilder) {
269
-
supportWindows = builder.supportWindows;
272
+
this.supportWindows = builder.supportWindows;
273
+
274
+
//This will be expanded to cover other OS options, but for now it is only Windows. Since Windows is the only
275
+
// option, if app developer doesn't want to use the broker on Windows then they shouldn't use the Broker at all
276
+
if (!this.supportWindows) {
277
+
thrownewMsalClientException("At least one operating system support option must be used when building the Broker instance", AuthenticationErrorCode.MSALJAVA_BROKERS_ERROR);
Copy file name to clipboardExpand all lines: msal4j-sdk/README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Quick links:
16
16
The library supports the following Java environments:
17
17
- Java 8 (or higher)
18
18
19
-
Current version - 1.13.11
19
+
Current version - 1.14.3-beta
20
20
21
21
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).
22
22
@@ -28,13 +28,13 @@ Find [the latest package in the Maven repository](https://mvnrepository.com/arti
0 commit comments