forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable tests for new aad implementation. (Azure#17823)
- Loading branch information
Rujun Chen
authored
Nov 26, 2020
1 parent
397cd0d
commit 3986906
Showing
6 changed files
with
78 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
sdk/spring/azure-spring-boot-test-aad/src/test/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
azure.activedirectory.tenant-id=fake-tenant-id | ||
azure.activedirectory.client-id=fake-client-id | ||
azure.activedirectory.client-secret=fake-client-secret | ||
azure.activedirectory.user-group.allowed-groups=group1, group2 | ||
# TODO: Delete the following content after "com.azure.spring.aad.implementation.AzureActiveDirectoryConfiguration" | ||
# added in "sdk/spring/azure-spring-boot/src/main/resources/META-INF/spring.factories" | ||
spring.security.oauth2.client.registration.azure.client-id=fake-client-id | ||
spring.security.oauth2.client.registration.azure.client-secret=fake-client-secret |
3 changes: 3 additions & 0 deletions
3
sdk/spring/azure-spring-boot-test-aad/src/test/resources/spring.factories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# TODO: Delete this file after "com.azure.spring.aad.implementation.AzureActiveDirectoryConfiguration" added in "sdk/spring/azure-spring-boot/src/main/resources/META-INF/spring.factories" | ||
org.springframework.boot.env.EnvironmentPostProcessor=\ | ||
com.azure.spring.aad.implementation.AzureActiveDirectoryConfiguration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters