From f4e151462a135736012934bd4b8a7d13547c7738 Mon Sep 17 00:00:00 2001 From: ZhijunZhao Date: Thu, 31 Aug 2017 11:48:33 +0800 Subject: [PATCH] update README (#142) --- README.md | 5 ++++- .../README.md | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ffddcf3..0c5ca854 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,14 @@ This repo is for Spring Boot Starters of Azure services. It helps Spring Boot de Below starters are available. You can find them in [Maven Central Repository](https://search.maven.org/). +- [azure-ad-integration-spring-boot-starter](activedirectory/azure-ad-integration-spring-boot-starter/README.md) +- [azure-cloud-foundry-service](cloudfoundry/azure-cloud-foundry-service/README.md) - [azure-documentdb-spring-boot-starter](documentdb/azure-documentdb-spring-boot-starter/README.md) +- [azure-keyvault-secrets-spring-boot-starter](keyvault/azure-keyvault-secrets-spring-boot-starter/README.md) - [azure-mediaservices-spring-boot-starter](mediaservices/azure-mediaservices-spring-boot-starter/README.md) +- [microsoft-graph-spring-social-starter](microsoft-graph/microsoft-graph-spring-social-starter-sample/README.md) - [azure-servicebus-spring-boot-starter](servicebus/azure-servicebus-spring-boot-starter/README.md) - [azure-storage-spring-boot-starter](storage/azure-storage-spring-boot-starter/README.md) -- [microsoft-graph-spring-social-starter](microsoft-graph/microsoft-graph-spring-social-starter-sample/README.md) ### How to Build and Contribute diff --git a/activedirectory/azure-ad-integration-spring-boot-starter-sample/README.md b/activedirectory/azure-ad-integration-spring-boot-starter-sample/README.md index 8b8bfaa6..be8909f6 100644 --- a/activedirectory/azure-ad-integration-spring-boot-starter-sample/README.md +++ b/activedirectory/azure-ad-integration-spring-boot-starter-sample/README.md @@ -13,8 +13,9 @@ List all the AAD groups `ActiveDirectoryGroups` that you want to have a Spring S `azure.activedirectory.ActiveDirectoryGroups=group1,group2` You can use `@PreAuthorize` annotation or `UserPrincipal` to manage access to web API based on user's group membership. You will need to change `ROLE_group1` to groups you want to allow to access the API or you will get "Access is denied". -##### Note: The sample retrieves user's group membership using Azure AD graph API which requires the registered app to have `Access the directory as the signed-in user` under `Delegated Permissions`. You need AAD admin privilege to be able to grant the permission in API ACCESS -> Required permission. - +##### Note: +- The sample retrieves user's group membership using Azure AD graph API which requires the registered app to have `Access the directory as the signed-in user` under `Delegated Permissions`. You need AAD admin privilege to be able to grant the permission in API ACCESS -> Required permission. +- Add `http://localhost:8080` as one of the `Reply URLs` in the settings of your registered app. #### Angular JS In `app.js`, make following changes. The client leverages Azure AD library for JS to handle AAD authentication in single page application. The following snippet of code configures adal provider for your registered app.