您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

教程:Azure Active Directory 单一登录 (SSO) 与领英人才解决方案的集成Tutorial: Azure Active Directory single sign-on (SSO) integration with LinkedIn Talent Solutions

本教程介绍如何将领英人才解决方案与 Azure Active Directory (Azure AD) 集成。In this tutorial, you'll learn how to integrate LinkedIn Talent Solutions with Azure Active Directory (Azure AD). 将领英人才解决方案与 Azure AD 集成后,可以:When you integrate LinkedIn Talent Solutions with Azure AD, you can:

  • 在 Azure AD 中控制谁有权访问领英人才解决方案。Control in Azure AD who has access to LinkedIn Talent Solutions.
  • 让用户使用其 Azure AD 帐户自动登录到领英人才解决方案。Enable your users to be automatically signed-in to LinkedIn Talent Solutions with their Azure AD accounts.
  • 在一个中心位置(Azure 门户)管理帐户。Manage your accounts in one central location - the Azure portal.

先决条件Prerequisites

若要开始操作,需备齐以下项目:To get started, you need the following items:

  • 一个 Azure AD 订阅。An Azure AD subscription. 如果没有订阅,可以获取一个免费帐户If you don't have a subscription, you can get a free account.
  • 领英人才解决方案仪表板中的帐户中心的访问权限Access to Account Center in your LinkedIn Talent Solutions dashboard

方案描述Scenario description

本教程在测试环境中配置并测试 Azure AD SSO。In this tutorial, you configure and test Azure AD SSO in a test environment.

  • 领英人才解决方案支持 SP 和 IDP 发起的 SSOLinkedIn Talent Solutions supports SP and IDP initiated SSO
  • 领英人才解决方案支持实时用户预配LinkedIn Talent Solutions supports Just In Time user provisioning

若要配置领英人才解决方案与 Azure AD 的集成,需要从库中将领英人才解决方案添加到托管 SaaS 应用列表。To configure the integration of LinkedIn Talent Solutions into Azure AD, you need to add LinkedIn Talent Solutions from the gallery to your list of managed SaaS apps.

  1. 使用工作或学校帐户或个人 Microsoft 帐户登录到 Azure 门户。Sign in to the Azure portal using either a work or school account, or a personal Microsoft account.
  2. 在左侧导航窗格中,选择“Azure Active Directory”服务 。On the left navigation pane, select the Azure Active Directory service.
  3. 导航到“企业应用程序”,选择“所有应用程序” 。Navigate to Enterprise Applications and then select All Applications.
  4. 若要添加新的应用程序,请选择“新建应用程序”。To add new application, select New application.
  5. 在“从库中添加”部分的搜索框中键入“领英人才解决方案”。 In the Add from the gallery section, type LinkedIn Talent Solutions in the search box.
  6. 在结果面板中选择“领英人才解决方案”,然后添加该应用。Select LinkedIn Talent Solutions from results panel and then add the app. 在该应用添加到租户时等待几秒钟。Wait a few seconds while the app is added to your tenant.

配置并测试领英人才解决方案的 Azure AD SSOConfigure and test Azure AD SSO for LinkedIn Talent Solutions

使用名为 B.Simon 的测试用户配置并测试领英人才解决方案的 Azure AD SSO。Configure and test Azure AD SSO with LinkedIn Talent Solutions using a test user called B.Simon. 若要正常使用 SSO,需要在 Azure AD 用户与领英人才解决方案中的相关用户之间建立链接关系。For SSO to work, you need to establish a link relationship between an Azure AD user and the related user in LinkedIn Talent Solutions.

若要配置并测试领英人才解决方案的 Azure AD SSO,请执行以下步骤:To configure and test Azure AD SSO with LinkedIn Talent Solutions, perform the following steps:

  1. 配置 Azure AD SSO - 使用户能够使用此功能。Configure Azure AD SSO - to enable your users to use this feature.
    1. 创建 Azure AD 测试用户 - 使用 B. Simon 测试 Azure AD 单一登录。Create an Azure AD test user - to test Azure AD single sign-on with B.Simon.
    2. 分配 Azure AD 测试用户 - 使 B. Simon 能够使用 Azure AD 单一登录。Assign the Azure AD test user - to enable B.Simon to use Azure AD single sign-on.
  2. 配置领英人才解决方案 SSO - 在应用程序端配置单一登录设置。Configure LinkedIn Talent Solutions SSO - to configure the single sign-on settings on application side.
    1. 创建领英人才解决方案测试用户 - 在领英人才解决方案中创建 B.Simon 的对应用户,并将其关联到用户的 Azure AD 表示形式。Create LinkedIn Talent Solutions test user - to have a counterpart of B.Simon in LinkedIn Talent Solutions that is linked to the Azure AD representation of user.
  3. 测试 SSO - 验证配置是否正常工作。Test SSO - to verify whether the configuration works.

配置 Azure AD SSOConfigure Azure AD SSO

按照下列步骤在 Azure 门户中启用 Azure AD SSO。Follow these steps to enable Azure AD SSO in the Azure portal.

  1. 在 Azure 门户中的“领英人才解决方案”应用程序集成页上,找到“管理”部分并选择“单一登录” 。In the Azure portal, on the LinkedIn Talent Solutions application integration page, find the Manage section and select single sign-on.

  2. 在“选择单一登录方法”页上选择“SAML” 。On the Select a single sign-on method page, select SAML.

  3. 在“使用 SAML 设置单一登录”页上,单击“基本 SAML 配置”的编辑/笔形图标以编辑设置 。On the Set up single sign-on with SAML page, click the edit/pen icon for Basic SAML Configuration to edit the settings.

    编辑基本 SAML 配置

  4. 在“基本 SAML 配置”部分,如果有 服务提供程序元数据文件,请执行以下步骤:On the Basic SAML Configuration section, if you have Service Provider metadata file, perform the following steps:

    a.a. 单击“上传元数据文件” 。Click Upload metadata file.

    image1

    b.b. 单击“文件夹徽标” 来选择元数据文件并单击“上传”。 Click on folder logo to select the metadata file and click Upload.

    image2

    c.c. 成功上传元数据文件后,“标识符” 和“回复 URL” 值会自动填充在“基本 SAML 配置”部分:Once the metadata file is successfully uploaded, the Identifier and Reply URL values get auto populated in Basic SAML Configuration section:

    image3

    备注

    如果 标识符回复 URL 值未自动填充,则请按要求手动填充这些值。If the Identifier and Reply URL values are not getting auto polulated, then fill in the values manually according to your requirement.

  5. 如果要在 SP 发起的模式下配置应用程序,请单击“设置其他 URL” ,并执行以下步骤:Click Set additional URLs and perform the following step if you wish to configure the application in SP initiated mode:

    在“登录 URL”文本框中,键入 URL:https://www.linkedin.com/talent/In the Sign-on URL text box, type the URL: https://www.linkedin.com/talent/

  6. 在“使用 SAML 设置单一登录”页的“SAML 签名证书”部分中找到“联合元数据 XML”,选择“下载”以下载该证书并将其保存在计算机上 。On the Set up single sign-on with SAML page, in the SAML Signing Certificate section, find Federation Metadata XML and select Download to download the certificate and save it on your computer.

    证书下载链接

  7. 在“设置领英人才解决方案”部分中,根据要求复制相应的 URL。On the Set up LinkedIn Talent Solutions section, copy the appropriate URL(s) based on your requirement.

    复制配置 URL

创建 Azure AD 测试用户Create an Azure AD test user

在本部分,我们将在 Azure 门户中创建名为 B.Simon 的测试用户。In this section, you'll create a test user in the Azure portal called B.Simon.

  1. 在 Azure 门户的左侧窗格中,依次选择“Azure Active Directory”、“用户”和“所有用户” 。From the left pane in the Azure portal, select Azure Active Directory, select Users, and then select All users.
  2. 选择屏幕顶部的“新建用户”。Select New user at the top of the screen.
  3. 在“用户”属性中执行以下步骤:In the User properties, follow these steps:
    1. 在“名称”字段中,输入 B.SimonIn the Name field, enter B.Simon.
    2. 在“用户名”字段中输入 username@companydomain.extension。In the User name field, enter the username@companydomain.extension. 例如,B.Simon@contoso.comFor example, B.Simon@contoso.com.
    3. 选中“显示密码”复选框,然后记下“密码”框中显示的值。Select the Show password check box, and then write down the value that's displayed in the Password box.
    4. 单击“创建”。Click Create.

分配 Azure AD 测试用户Assign the Azure AD test user

在本部分中,将通过授予 B.Simon 访问领英人才解决方案的权限,允许其使用 Azure 单一登录。In this section, you'll enable B.Simon to use Azure single sign-on by granting access to LinkedIn Talent Solutions.

  1. 在 Azure 门户中,依次选择“企业应用程序”、“所有应用程序”。 In the Azure portal, select Enterprise Applications, and then select All applications.
  2. 在应用程序列表中,选择“领英人才解决方案”。In the applications list, select LinkedIn Talent Solutions.
  3. 在应用的概述页中,找到“管理”部分,选择“用户和组” 。In the app's overview page, find the Manage section and select Users and groups.
  4. 选择“添加用户”,然后在“添加分配”对话框中选择“用户和组”。Select Add user, then select Users and groups in the Add Assignment dialog.
  5. 在“用户和组”对话框中,从“用户”列表中选择“B.Simon”,然后单击屏幕底部的“选择”按钮。In the Users and groups dialog, select B.Simon from the Users list, then click the Select button at the bottom of the screen.
  6. 如果你希望将某角色分配给用户,可以从“选择角色”下拉列表中选择该角色。If you are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. 如果尚未为此应用设置任何角色,你将看到选择了“默认访问权限”角色。If no role has been set up for this app, you see "Default Access" role selected.
  7. 在“添加分配”对话框中,单击“分配”按钮。In the Add Assignment dialog, click the Assign button.

配置领英人才解决方案 SSOConfigure LinkedIn Talent Solutions SSO

  1. 以管理员身份登录到领英人才解决方案网站。Sign into LinkedIn Talent Solutions website as an administrator.

  2. 导航到“帐户中心”。Navigate to Account Center.

  3. 从导航栏中选择“设置”选项卡。Select Settings tab from the navigation bar.

    设置页面

  4. 展开“单一登录(SSO)”部分。Expand the Single Sign-On (SSO) section.

  5. 单击“下载”按钮以下载“元数据文件”,或单击“或单击此处以加载并复制窗体中的各个字段”链接以显示配置数据 。Click on Download button to download the metadata file or click on or click here to load and copy individual fields from the form link to reveal the configuration data.

     配置数据configuration data

  6. 执行以下步骤以复制窗体中的各个字段。Perform the following steps to copy the individual fields from the form.

     包含输入数据的配置configuration with input data

    a.a. 复制“实体 ID”值,并将此值粘贴到 Azure 门户上“基本 SAML 配置”部分的“Azure AD 标识符”文本框中 。Copy Entity ID value, paste this value into the Azure AD Identifier text box in the Basic SAML Configuration section in the Azure portal.

    b.b. 复制“ACS URL”值,并将此值粘贴到 Azure 门户上“基本 SAML 配置”部分的“回复 URL”文本框中 。Copy ACS URL value, paste this value into the Reply URL text box in the Basic SAML Configuration section in the Azure portal.

    c.c. 将“SP X.509 证书(签名)”文本框的内容复制到记事本中,然后将其保存在计算机中。Copy the content of the SP X.509 Certificate(signing) textbox into the notepad and save it in your computer.

  7. 单击“上传 XML 文件”以上传从 Azure 门户复制的“联合元数据 XML”文件 。Click on Upload XML file to upload the Federation Metadata XML file which you have copied from the Azure portal.

     上传 XML 文件Upload XML file

配置领英人才解决方案测试用户Create LinkedIn Talent Solutions test user

本部分将在领英人才解决方案中创建名为 Britta Simon 的用户。In this section, a user called Britta Simon is created in LinkedIn Talent Solutions. 领英人才解决方案支持默认启用的实时用户预配。LinkedIn Talent Solutions supports just-in-time user provisioning, which is enabled by default. 此部分不存在任何操作项。There is no action item for you in this section. 如果领英人才解决方案中尚不存在用户,则会在身份验证后创建一个新用户。If a user doesn't already exist in LinkedIn Talent Solutions, a new one is created after authentication.

测试 SSOTest SSO

在本部分,你将使用以下选项测试 Azure AD 单一登录配置。In this section, you test your Azure AD single sign-on configuration with following options.

SP 启动的:SP initiated:

  • 在 Azure 门户中单击“测试此应用程序”。Click on Test this application in Azure portal. 这会重定向到领英人才解决方案登录 URL,可在其中启动登录流。This will redirect to LinkedIn Talent Solutions Sign on URL where you can initiate the login flow.

  • 直接转到领英人才解决方案登录 URL,并在其中启动登录流。Go to LinkedIn Talent Solutions Sign-on URL directly and initiate the login flow from there.

IDP 启动的:IDP initiated:

  • 在 Azure 门户中单击“测试此应用程序”后,你应会自动登录到为其设置了 SSO 的领英人才解决方案Click on Test this application in Azure portal and you should be automatically signed in to the LinkedIn Talent Solutions for which you set up the SSO

还可以使用 Microsoft“我的应用”在任何模式下测试此应用程序。You can also use Microsoft My Apps to test the application in any mode. 在“我的应用”中单击领英人才解决方案磁贴时,如果是在 SP 模式下配置的,会重定向到应用程序登录页来启动登录流;如果是在 IDP 模式下配置的,则应会自动登录到为其设置了 SSO 的领英人才解决方案。When you click the LinkedIn Talent Solutions tile in the My Apps, if configured in SP mode you would be redirected to the application sign on page for initiating the login flow and if configured in IDP mode, you should be automatically signed in to the LinkedIn Talent Solutions for which you set up the SSO. 有关“我的应用”的详细信息,请参阅“我的应用”简介For more information about the My Apps, see Introduction to the My Apps.

后续步骤Next steps

配置领英人才解决方案后,就可以强制实施会话控制,从而实时保护组织的敏感数据免于外泄和渗透。Once you configure LinkedIn Talent Solutions you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. 会话控制从条件访问扩展而来。Session control extends from Conditional Access. 了解如何通过 Microsoft Cloud App Security 强制实施会话控制Learn how to enforce session control with Microsoft Cloud App Security.