Skip to content

Commit 006e3b6

Browse files
add sample name with "resource-server" (Azure#17589)
* change artifactId and module
1 parent 8f4cd16 commit 006e3b6

File tree

32 files changed

+16
-16
lines changed

32 files changed

+16
-16
lines changed

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/README.md renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ First, we need to ensure that this [instruction] is completed before run.
9191
```shell
9292
# Under sdk/spring project root directory
9393
mvn clean install -DskipTests
94-
cd azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless
94+
cd azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless
9595
mvn spring-boot:run
9696
```
9797

@@ -112,4 +112,4 @@ mvn spring-boot:run
112112
## Next steps
113113
## Contributing
114114
<!-- LINKS -->
115-
[instruction]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/CONTRIBUTING.md#building-from-source
115+
[instruction]: https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/spring/CONTRIBUTING.md#building-from-source

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/docs/demo.webp renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/docs/demo.webp

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/pom.xml renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</parent>
1212

1313
<groupId>com.azure.spring</groupId>
14-
<artifactId>azure-spring-boot-sample-active-directory-stateless</artifactId>
14+
<artifactId>azure-spring-boot-sample-active-directory-resource-server-stateless</artifactId>
1515
<version>1.0.0</version>
1616

1717
<name>Azure Spring Boot Starter Sample - Azure AD Stateless Spring Security Integration</name>

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/src/main/java/com/azure/spring/sample/aad/AzureADStatelessBackendSampleApplication.java renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/src/main/java/com/azure/spring/sample/aad/AzureADStatelessBackendSampleApplication.java

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/src/main/java/com/azure/spring/sample/aad/controller/MainController.java renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/src/main/java/com/azure/spring/sample/aad/controller/MainController.java

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/src/main/java/com/azure/spring/sample/aad/security/AADWebSecurityConfig.java renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/src/main/java/com/azure/spring/sample/aad/security/AADWebSecurityConfig.java

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/src/main/resources/application.properties renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/src/main/resources/application.properties

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-stateless/src/main/resources/static/index.html renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server-stateless/src/main/resources/static/index.html

File renamed without changes.

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory/README.md renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ From your command line:
4141
```command line
4242
git clone https://github.com/Azure/azure-sdk-for-java.git
4343
```
44-
or download and extract the repository .zip file, and navigate to `azure-spring-boot-sample-active-directory` from the list of samples.
44+
or download and extract the repository .zip file, and navigate to `azure-spring-boot-sample-active-directory-resource-server` from the list of samples.
4545

4646
---
4747
### Step 2: Register the sample with your Azure Active Directory tenant
@@ -148,7 +148,7 @@ First, we need to ensure that this [instruction] is completed before run.
148148
```
149149
# Under sdk/spring project root directory
150150
mvn clean install
151-
cd azure-spring-boot-samples/azure-spring-boot-sample-active-directory
151+
cd azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server
152152
mvn spring-boot:run
153153
```
154154

sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory/pom.xml renamed to sdk/spring/azure-spring-boot-samples/azure-spring-boot-sample-active-directory-resource-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111

1212
<groupId>com.azure.spring</groupId>
13-
<artifactId>azure-spring-boot-sample-active-directory</artifactId>
13+
<artifactId>azure-spring-boot-sample-active-directory-resource-server</artifactId>
1414
<version>1.0.0</version>
1515
<packaging>jar</packaging>
1616

0 commit comments

Comments
 (0)