Skip to content

Commit

Permalink
add external dependencies for webapi in readme (#18393)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuTo committed Dec 30, 2020
1 parent 51ea22c commit 84f27b3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sdk/spring/azure-spring-boot-starter-active-directory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ To use this starter in an web application, please add following packages:
```
[//]: # "{x-version-update-end}"

To use this starter in a resource server, please add following packages:

[//]: # "{x-version-update-start;com.azure.spring:azure-spring-boot-starter-active-directory;current}"
```xml
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>azure-spring-boot-starter-active-directory</artifactId>
<version>3.0.0-beta.1</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-oauth2-resource-server</artifactId>
</dependency>
```
[//]: # "{x-version-update-end}"

## Key concepts
This package provides 2 ways to integrate with Spring Security and authenticate with Azure Active Directory, which are designed for scenarios of web application and resource server.

Expand Down

0 comments on commit 84f27b3

Please sign in to comment.