Skip to content

Commit 100a6a9

Browse files
authored
public repo edits
1 parent 1f94a63 commit 100a6a9

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

articles/active-directory/develop/quickstart-v2-java-webapp.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ To run this sample you will need:
8787

8888
1. Extract the zip file to a local folder.
8989
1. If you use an integrated development environment, open the sample in your favorite IDE (optional).
90-
9190
1. Open the application.properties file, which can be found in src/main/resources/ folder and replace the value of the fields *aad.clientId*, *aad.authority* and *aad.secretKey* with the respective values of **Application Id**, **Tenant Id** and **Client Secret** as the following:
9291

9392
```file
@@ -98,15 +97,14 @@ To run this sample you will need:
9897
aad.redirectUriGraph=https://localhost:8080/msal4jsample/graph/me
9998
```
10099
101-
> [!div renderon="docs"]
102-
> Where:
103-
>
104-
> - `Enter_the_Application_Id_here` - is the Application Id for the application you registered.
105-
> - `Enter_the_Client_Secret_Here` - is the **Client Secret** you created in **Certificates & Secrets** for the application you registered.
106-
> - `Enter_the_Tenant_Info_Here` - is the **Directory (tenant) ID** value of the application you registered.
100+
> [!div renderon="docs"]
101+
> Where:
102+
>
103+
> - `Enter_the_Application_Id_here` - is the Application Id for the application you registered.
104+
> - `Enter_the_Client_Secret_Here` - is the **Client Secret** you created in **Certificates & Secrets** for the application you registered.
105+
> - `Enter_the_Tenant_Info_Here` - is the **Directory (tenant) ID** value of the application you registered.
107106
108-
4. In order to use https with localhost fill in server.ssl.key properties.
109-
Use keytool utility (included in JRE) if you want to generate self-signed certificate.
107+
1. To use https with localhost, fill in the server.ssl.key properties. To generate a self-signed certificate, use the keytool utility (included in JRE).
110108
111109
```
112110
Example:
@@ -117,7 +115,8 @@ To run this sample you will need:
117115
server.ssl.key-store-password=password
118116
server.ssl.key-alias=testCert
119117
```
120-
Put generated keystore file to "resources" folder.
118+
119+
Put the generated keystore file in the "resources" folder.
121120
122121
#### Step 4: Run the code sample
123122
@@ -127,7 +126,7 @@ Run it directly from your IDE by using the embedded spring boot server or packag
127126
128127
##### Running from IDE
129128
130-
If you are running the web application from an IDE, click on run, then navigate to the home page of the project. For this sample, the standard home page URL is https://localhost:8080
129+
If you are running the web application from an IDE, click on run, then navigate to the home page of the project. For this sample, the standard home page URL is https://localhost:8080.
131130
132131
1. On the front page, select the **Login** button to redirect to Azure Active Directory and prompt the user for their credentials.
133132

0 commit comments

Comments
 (0)