azure web应用部署_Java Web应用程序中的Azure AD SSO,ADFS SSO配置

azure web应用部署

Azure AD单点登录 (Azure AD SSO)

The Single Sign-On feature is getting popular among developers to handle Application Access Management while developing multi-faced applications due to its remarkable advantages. Azure Active Directory is one of the most popular solutions used for Directory Management, Application Access Management and secured Identity Management, which offers the efficient Single Sign-On feature as well.

单点登录功能因其显着的优势而在开发多面应用程序的同时,在处理应用程序访问管理的开发人员中越来越受欢迎。 Azure Active Directory是用于目录管理,应用程序访问管理和安全的身份管理的最受欢迎的解决方案之一,该解决方案还提供了有效的单一登录功能。

Recently, I integrated Azure AD SSO with a Java web application along with synchronizing it with existing Identity Management system. I used Active Directory Federation Services ADFS 2016. In this blog, I am sharing the integration process in three sections.

最近,我将Azure AD SSO与Java Web应用程序集成在一起,并将其与现有的Identity Management系统同步。 我使用Active Directory联合身份验证服务ADFS2016。在此博客中,我将在三个部分中共享集成过程。

  1. How to register Java Application in Azure AD

    如何在Azure AD中注册Java应用程序
  2. How to implement ADAL Library in Java Application

    如何在Java应用程序中实现ADAL库
  3. ADFS Configuration for Single Sign-On SSO

    单点登录SSO的ADFS配置

如何在Azure AD中注册Java应用程序 (How to Register Java Application in Azure AD)

Follow the instructions given in the link below to register the Java Application with Azure AD using Active Directory Authentication Library for Java (ADAL4J) and to acquire JWT access token.

请按照下面的链接中给出的说明,使用Java Active Directory身份验证库(ADAL4J)向Azure AD注册Java应用程序,并获取JWT访问令牌。

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-integrating-applications

https://docs.microsoft.com/zh-cn/azure/active-directory/develop/active-directory-integrating-applications

如何在Java Web应用程序中实现ADAL库 (How to implement ADAL library in Java Web Application)

The process of implementing ADAL Library in Java Application is comprised of total six steps:

在Java应用程序中实现ADAL库的过程总共包括六个步骤:

  1. Add ADAL Library Dependencies

    添加ADAL库依赖关系
  2. Register ADALFilter and add context parameters in your web.xml (Informing the Java App about Azure App configuration)

    注册ADALFilter并在web.xml中添加上下文参数(向Java App通知Azure App配置)
  3. Create AdalFilter

    创建AdalFilter
  4. Create the secure controller

    创建安全控制器
  5. Create AuthHelper class

    创建AuthHelper类
  6. Create aad.jsp

    创建一个aad.jsp

将adal库依赖项添加到Java应用程序 (Add adal library dependencies to the java application)


	com.microsoft.azure
	adal4j
	1.1.1


	com.nimbusds
	oauth2-oidc-sdk
	4.5

注册ADALFilter并在web.xml中添加上下文参数 (Register ADALFilter and add context

你可能感兴趣的:(java,spring,linux,spring,boot,tomcat)