From a173c781b19a5e49204f35d0521d9e22b662538d Mon Sep 17 00:00:00 2001 From: Dickson Mwendia <64727760+Dickson-Mwendia@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:24:31 +0300 Subject: [PATCH 1/3] Deprecate National clouds in Java content --- .openpublishing.redirection.json | 9 +++++ .../advanced/national-clouds.md | 34 ------------------- 2 files changed, 9 insertions(+), 34 deletions(-) create mode 100644 .openpublishing.redirection.json delete mode 100644 msal-java-articles/advanced/national-clouds.md diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json new file mode 100644 index 0000000..853af2b --- /dev/null +++ b/.openpublishing.redirection.json @@ -0,0 +1,9 @@ +{ + "redirections": [ + { + "source_path_from_root": "/msal-java-articles/advanced/national-clouds.md", + "redirect_url": "/entra/identity-platform/authentication-national-cloud", + "redirect_document_id": false + } + ] +} \ No newline at end of file diff --git a/msal-java-articles/advanced/national-clouds.md b/msal-java-articles/advanced/national-clouds.md deleted file mode 100644 index 0a869d7..0000000 --- a/msal-java-articles/advanced/national-clouds.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: National clouds -description: "National clouds (aka Sovereign clouds) are physically isolated instances of Azure." -author: Dickson-Mwendia -manager: CelesteDG - -ms.author: dmwendia -ms.date: 02/27/2024 -ms.reviewer: dayodeji -ms.service: msal -ms.subservice: msal-java -ms.topic: conceptual ---- - - -# National clouds - -National clouds (also known as sovereign clouds) are physically isolated instances of Azure. These regions of Azure are designed to make sure that data residency, sovereignty, and compliance requirements are honored within geographical boundaries. - -In addition to the public cloud​, Azure Active Directory is deployed in the following National clouds:   - -- Azure US Government -- Azure China 21Vianet -- Azure Germany - -Note that enabling your application for sovereign clouds requires you to: - -- Register your application in a specific portal, depending on the cloud -- Use a specific authority, depending on the cloud in the config file for your application -- In case you want to call the graph, this requires a specific Graph endpoint URL, depending on the cloud. - -More details in [Authentication in National Clouds](/entra/identity-platform/authentication-national-cloud) - -For convenience, the list of authentication endpoints for the national clouds can be found in the [`AzureCloudEndpoint`](xref:com.microsoft.aad.msal4j.AzureCloudEndpoint) enum, along with the endpoint for the global/public cloud. From cc751486e15e78a473ac4a9dac4f09abd0ede6ac Mon Sep 17 00:00:00 2001 From: Dickson Mwendia <64727760+Dickson-Mwendia@users.noreply.github.com> Date: Tue, 16 Jul 2024 12:32:59 +0300 Subject: [PATCH 2/3] Remove TOC entry --- msal-java-articles/TOC.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/msal-java-articles/TOC.yml b/msal-java-articles/TOC.yml index 7d6f2c9..37f6831 100644 --- a/msal-java-articles/TOC.yml +++ b/msal-java-articles/TOC.yml @@ -50,8 +50,6 @@ href: advanced/msal-error-handling-java.md - name: ADFS Support href: advanced/support-for-adfs.md - - name: National Clouds - href: advanced/national-clouds.md - name: Telemetry href: advanced/telemetry.md - name: Configuring Http Client From d3a4df03cce912a3888c9237f6c20fb40af0592f Mon Sep 17 00:00:00 2001 From: Dickson Mwendia <64727760+Dickson-Mwendia@users.noreply.github.com> Date: Tue, 16 Jul 2024 18:02:57 +0300 Subject: [PATCH 3/3] Remove references to archived sample --- msal-java-articles/advanced/msal-logging-java.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/msal-java-articles/advanced/msal-logging-java.md b/msal-java-articles/advanced/msal-logging-java.md index fb1c0e0..b35565e 100644 --- a/msal-java-articles/advanced/msal-logging-java.md +++ b/msal-java-articles/advanced/msal-logging-java.md @@ -38,9 +38,7 @@ The following sections provide more details about MSAL error logging for your ap ## MSAL for Java logging -MSAL for Java allows you to use the logging library that you're already using with your app, as long as it's compatible with [Simple Logging Facade for Java (SLF4J)](https://www.slf4j.org/). MSAL for Java uses the SLF4J as a simple abstraction for various logging frameworks, such as [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html), [Logback](https://logback.qos.ch/) and [Log4j](https://logging.apache.org/log4j/2.x/). SLF4J allows the user to plug in the desired logging framework at deployment time and automatically binds to Logback at deployment time. MSAL logs will be written to the console. - -This article shows how to enable MSAL4J logging using the logback framework in a Spring Boot web application. You can refer to the [code sample](https://github.com/Azure-Samples/ms-identity-java-webapp/tree/master/msal-java-webapp-sample) for reference. +MSAL for Java allows you to use the logging library that you're already using with your app, as long as it's compatible with [Simple Logging Facade for Java (SLF4J)](https://www.slf4j.org/). MSAL for Java uses the SLF4J as a simple abstraction for various logging frameworks, such as [java.util.logging](https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html), [Logback](https://logback.qos.ch/) and [Log4j](https://logging.apache.org/log4j/2.x/). SLF4J allows the user to plug in the desired logging framework at deployment time and automatically binds to Logback at deployment time. MSAL logs will be written to the console. This article shows how to enable MSAL4J logging using the logback framework in a Spring Boot web application. 1. To implement logging, include the `logback` package in `pom.xml`.