哪个启动 - 启动 - 启动样本 - 示例 - 示例到使用的valate-acces-acces-to-to-acces-to-to-to-to to Server to Server to Server,反之亦然
我在Angular中有一个前端应用,并使用Java语言进行后端。 目标:
- 使用Spring Boot Security和Azure AD保护Angular到Spring Boot应用程序(A)。
- 要保护上面的Spring Boot应用程序(A)服务器API,该应用程序将调用其他Spring Boot应用程序(B)IE Server将服务器资源安全性。
- 和Spring Boot应用程序(B)调用带有Spring Security的Spring Boot应用程序(a)。
上面的项目是一个多模块项目。
I have a frontend application in angular and backend in java language.
Goal:
- to secure angular to spring boot application(A) with spring boot security and azure ad.
- to secure above spring boot application(A)server api which will call other spring boot application(B) i.e. server to server resource security.
- And spring boot application (B) calling spring boot application (A) with spring security.
Above project is a multimodule project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
•请遵循以下文档链接,该链接描述了Azure Active Directory(Azure AD)的Spring Boot应用程序的功能和核心方案。它详细说明了如何将春季启动应用程序连接到Azure AD租户并使用Azure AD保护您的资源服务器。它使用 oauth 2.0协议来保护Web应用程序和资源服务器。
https://learn.microsoft.com/en-us/azure/developer/java/java/spring-framework/spring-boot-boot-boot-starter-for-azure-azure-active-directory-directory-develveper-developer-developer-guide
做考虑到文档中提到的上述步骤使用 oauth 2.0授权代码授予流,以使用户能够使用Microsoft帐户登录。
•您必须开发和构建自己的春季启动Java应用程序,以集成Azure AD身份验证以及IT中的资源保护。上面的文档将帮助您
从Web应用程序配置资源服务器的可访问性,并保护该资源服务器/API或从资源服务器中访问其他资源服务器。因此,如果您遵循它,这会立即满足您的所有要求。另外,请考虑考虑到您必须拥有所有先决条件,例如受支持的Java开发套件8版,Apache Maven版本3或更高版本以及已经在Azure AD AD
上注册的Spring Boot应用程序。请参考下面的链接,以获取与Azure AD链接的起动器Springboot Java应用程序: -https://learn.microsoft.com/en-us/en-us/azure/azure/developer/developer/java/java/spring -framework/configure-spring-boot-starter-java-app-with-azure-air-active-directory
• Please follow the below documentation link which describes the features and core scenarios of the Spring Boot application for Azure Active Directory (Azure AD). It explains in detail how to connect your spring boot application to an Azure AD tenant and protect your resource server with Azure AD. It uses the OAuth 2.0 protocol to protect web applications and resource servers.
https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/spring-boot-starter-for-azure-active-directory-developer-guide
Do take into consideration that the above steps mentioned in the documentation uses OAuth 2.0 authorization code grant flow for enabling a user to sign in with Microsoft account.
• And you will have to develop and build your own spring boot java application to integrate Azure AD authentication along with resource protection in it. The above documentation will help you
configure the accessibility of resource servers from a web application as well as protect that resource server/API or access other resource servers from a resource server. Thus, this satisfies all your requirements promptly if you follow it. Also, please do take into consideration that you will have to have all the prerequisites in place like a supported Java Development Kit version 8, Apache Maven version 3 or later and a spring boot application already registered with Azure AD
. Do refer to the link below for starter springboot Java application linked with Azure AD: -https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-active-directory