Skip to content

Commit 56e77b4

Browse files
author
Cephas Lin
committed
prmerger feedback
1 parent d0f493e commit 56e77b4

6 files changed

+11
-9
lines changed

articles/app-service/configure-authentication-user-identities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Code that is written in any language or framework can get the information that i
5757
| `name_typ` | string | The name claim type, which is typically a URI providing scheme information about the `name` claim if one is defined. |
5858
| `role_typ` | string | The role claim type, which is typically a URI providing scheme information about the `role` claim if one is defined. |
5959

60-
To process this header, your app needs to decode the payload and iterate through the `claims` array to find the claims of interest. It it be convenient to convert them into a representation used by the app's language framework. Here's an example of this process in C# that constructs a [ClaimsPrincipal](/dotnet/api/system.security.claims.claimsprincipal) type for the app to use:
60+
To process this header, your app needs to decode the payload and iterate through the `claims` array to find the claims of interest. It might be convenient to convert them into a representation used by the app's language framework. Here's an example of this process in C# that constructs a [ClaimsPrincipal](/dotnet/api/system.security.claims.claimsprincipal) type for the app to use:
6161

6262
```csharp
6363
using System;

articles/app-service/configure-language-java-data-sources.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Configure data sources for Tomcat, JBoss, or Java SE apps
3-
description: Learn how to configure data sources for Tomcat, JBoss, or Java SE apps on Azure App Service. You'll find instructions for native Windows and Linux container variants.
3+
description: Learn how to configure data sources for Tomcat, JBoss, or Java SE apps on Azure App Service, including native Windows and Linux container variants.
44
keywords: azure app service, web app, windows, oss, java, tomcat, jboss
55
ms.devlang: java
66
ms.topic: article
@@ -18,6 +18,8 @@ This article shows how to configure data sources in a Java SE, Tomcat, or JBoss
1818

1919
[!INCLUDE [java-variants](includes/configure-language-java/java-variants.md)]
2020

21+
## Configure the data source
22+
2123
::: zone pivot="java-javase"
2224

2325
To connect to data sources in Spring Boot applications, we suggest creating connection strings and injecting them into your *application.properties* file.
@@ -189,7 +191,7 @@ This PowerShell completes the following steps:
189191

190192
A common use case for customizing the built-in Tomcat installation is to modify the `server.xml`, `context.xml`, or `web.xml` Tomcat configuration files. App Service already modifies these files to provide platform features. To continue to use these features, it's important to preserve the content of these files when you make changes to them. To accomplish this, use an [XSL transformation (XSLT)](https://www.w3schools.com/xml/xsl_intro.asp).
191193

192-
Add an XSL transform file called *configure.ps1* to the *%HOME%_\site* directory. You can use the following XSL transform code to add a new connector node to `server.xml`. Note the *Identity Transform*, which preserves the original contents of the file.
194+
Add an XSL transform file called *configure.ps1* to the *%HOME%_\site* directory. You can use the following XSL transform code to add a new connector node to `server.xml`. The *identity transform* at the beginning preserves the original contents of the configuration file.
193195

194196
```xml
195197
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

articles/app-service/configure-language-java-security.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ To disable this feature, create an Application Setting named `WEBSITE_AUTH_SKIP_
6464
6565
::: zone-end
6666
67-
::: zone pivot="java-jboss"
67+
<!-- ::: zone pivot="java-jboss"
6868
6969
For JBoss EAP, `[TODO]`.
7070
71-
::: zone-end
71+
::: zone-end -->
7272
7373
## Configure TLS/SSL
7474

articles/app-service/includes/quickstart-java/quickstart-java-linux-maven-pivot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ cd petstore-ee7
9494
mvn clean install
9595
```
9696

97-
If you see a message about being in **detached HEAD** state, this message is safe to ignore. Because you won't making any commits, detached HEAD state is appropriate.
97+
If you see a message about being in **detached HEAD** state, this message is safe to ignore. Because you won't make any commits, detached HEAD state is appropriate.
9898

9999
---
100100

articles/app-service/tutorial-java-spring-cosmosdb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ yes | cp -rf .prep/* .
5353

5454
Follow these steps to create an Azure Cosmos DB database in your subscription. The TODO list app will connect to this database and store its data when running, persisting the application state no matter where you run the application.
5555

56-
1. Login to your Azure CLI, and optionally set your subscription if you have more than one connected to your login credentials.
56+
1. Sign in to your Azure CLI, and optionally set your subscription if you have more than one connected to your sign-in credentials.
5757

5858
```azurecli
5959
az login
@@ -110,7 +110,7 @@ Then run the script:
110110
source .scripts/set-env-variables.sh
111111
```
112112

113-
These environment variables are used in `application.properties` in the TODO list app. The fields in the properties file set up a default repository configuration for Spring Data:
113+
These environment variables are used in `application.properties` in the TODO list app. The fields in the properties file define a default repository configuration for Spring Data:
114114

115115
```properties
116116
azure.cosmosdb.uri=${COSMOSDB_URI}

articles/zone-pivot-groups.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ groups:
21572157
title: Manual
21582158
# Owner: jefmarti
21592159
- id: app-service-openai
2160-
title: App Service Open AI
2160+
title: App Service OpenAI
21612161
prompt: Choose a language
21622162
pivots:
21632163
- id: openai-dotnet

0 commit comments

Comments
 (0)