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.
refactor aad sample code (Azure#18691)
* refactor aad sample code
- Loading branch information
1 parent
d90271c
commit 3a732af
Showing
8 changed files
with
95 additions
and
55 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
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
7 changes: 0 additions & 7 deletions
7
...mple-active-directory-resource-server-by-filter/src/main/resources/application.properties
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...boot-sample-active-directory-resource-server-by-filter/src/main/resources/application.yml
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,17 @@ | ||
# By default, azure.activedirectory.environment property has value `global`, | ||
# supported value is global, cn. Please refer to the README for details. | ||
# azure.activedirectory.environment=global | ||
azure: | ||
activedirectory: | ||
tenant-id: <your-tenant-id> | ||
client-id: <your-client-id> | ||
client-secret: <your-client-secret> | ||
# Optional, default value is http://localhost:8080/ | ||
# redirect-uri-template: <your-redirect-uri> | ||
# groups that you created in your Azure AD tenant | ||
user-group: | ||
allowed-groups: group1,group2 | ||
# Optional, the default value is | ||
# environment: global | ||
|
||
|
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
11 changes: 10 additions & 1 deletion
11
...lter/src/main/resources/static/index.html → ...r/src/main/resources/templates/index.html
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