Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
moarychan committed Oct 26, 2023
1 parent 71bb5f1 commit bed192f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion aad/spring-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please refer to [docs] to get more information about how to use the samples in t



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[Spring Boot]: https://spring.io/projects/spring-boot
[spring-security]: https://github.com/spring-projects/spring-security
[docs]: docs
Expand Down
2 changes: 1 addition & 1 deletion aad/spring-security/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


# 1. About
This repo demonstrates how to use [Microsoft Entra ID](https://azure.microsoft.com/services/active-directory) in [Spring Boot](https://spring.io/projects/spring-boot) application by [spring-security](https://github.com/spring-projects/spring-security).
This repo demonstrates how to use [Microsoft Entra ID](https://www.microsoft.com/security/business/identity-access/microsoft-entra-id) in [Spring Boot](https://spring.io/projects/spring-boot) application by [spring-security](https://github.com/spring-projects/spring-security).

# 2. Ask for help
If you have any question about these samples, please ask by [creating a new github issue](https://github.com/Azure-Samples/azure-spring-boot-samples/issues/new).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This section will demonstrate this scenario:

![image](https://user-images.githubusercontent.com/13167207/148503627-700f287c-ea93-4957-b811-ad8f7f8c5ed3.png)

1. Client get [access token](https://docs.microsoft.com/azure/active-directory/develop/access-tokens) from [Microsoft Entra ID](https://azure.microsoft.com/services/active-directory)
1. Client get [access token](https://docs.microsoft.com/azure/active-directory/develop/access-tokens) from [Microsoft Entra ID](https://www.microsoft.com/security/business/identity-access/microsoft-entra-id)
2. Client use the access token to access Gateway.
3. Gateway validate the access token. If the access token is valid, use the access token to access the ResourceServer. There are 2 ResourceServers, which ResourceServer to access depends on the request URL, it's configured in Gateway's application.yml. Gateway is implemented by [spring-cloud-gateway](https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/)
4. Gateway get the response from ResourceServer, then return to Client.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Read [document about Application manifest], set `accessTokenAcceptedVersion` to



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[OAuth2]: https://oauth.net/2/
[Spring Security]: https://spring.io/projects/spring-security
[OAuth 2.0 authorization code flow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Read [document about Application manifest], set `accessTokenAcceptedVersion` to



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[OAuth2]: https://oauth.net/2/
[Spring Security]: https://spring.io/projects/spring-security
[OAuth 2.0 authorization code flow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow
Expand Down
2 changes: 1 addition & 1 deletion aad/spring-security/docs/servlet/oauth2/login.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Read [document about adding a redirect URI], add redirect URI: **http://localhos



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[OAuth2]: https://oauth.net/2/
[Spring Security]: https://spring.io/projects/spring-security
[OAuth 2.0 authorization code flow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Read [document about assigning users and groups to roles], assign **user-1** to



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[OAuth2]: https://oauth.net/2/
[Spring Security]: https://spring.io/projects/spring-security
[OAuth 2.0 authorization code flow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Read [document about exposing an api], pre-authorize resource-server-1 to access



[Microsoft Entra ID]: https://azure.microsoft.com/services/active-directory
[Microsoft Entra ID]: https://www.microsoft.com/security/business/identity-access/microsoft-entra-id
[OAuth2]: https://oauth.net/2/
[Spring Security]: https://spring.io/projects/spring-security
[OAuth 2.0 authorization code flow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow
Expand Down

0 comments on commit bed192f

Please sign in to comment.