Windows 2012 IT Professional——AD FS with SharePoint 2013 联合部署

下图演示了在合作伙伴协作网站的默认区域中实现的多种类型的身份验证。

 

此图来自微软官网介绍。

 


 

从图中可以看出微软推荐Partner公司使用AD FS配置基于SAML的声明身份验证。可以理解为将AD FSSharePoint 2013 Web Application的身份提供了程序安全令牌服务(IP-STS)。在此过程中,ADFS颁发由声明组成的基于SAML的安全令牌,以便客户端可以访问使用基于声明的身份验证的Web应用程序,以此实现跨域情况下,用户可以访问其他Domain下的SP WebSite

 

那么,如何部署ADFS withSharePoint 2013的环境呢?

 

主要部署阶段为:

 

  1. 安装和配置ADFS Server
  2. 使用Web ApplicationAD FS配置为Relying Party Trust
  3. SharePoint 2013配置为将AD FS视为受信任的Identity Provider
  4. Web Application配置为将基于声明的身份验证和AD FS用作受信任的身份提供程序

 

第一阶段:安装和部署ADFSServer

 

  1. 安装VM,操作系统为Windows Server 2012Install AD DS Role,并部署Domain Controller,如下图所示:

 


 

  1. 安装AD CS Role,如下图所示:

 


 

 

  1. 配置AD CS Role,并重启VM,如下图所示:

 


 

  1. 安装AD FS Server,如下图所示:

 


 

 

  1. 配置ADFS Server,如下图所示:

 


 

注意:AD DSAD CS以及AD FS三个ServerRole不可以同时安装,只能先安装AD DS->AD CS->AD FS顺序安装和配置,因为ADCSAD DS不能同时安装,且只有部署完AD CS之后,再配置AD FS时,SSLCertificate才能够加载出来。

 

第二阶段:使用WebApplicationAD FS配置为RelyingParty Trust

 

  1. 打开AD FS Server,配置Relying Party Trust,如下图所示:

 


 

  1. 配置WS-Federation Passive Protocol URL: https://WebAppURL/_Trust 如下图所示: 注意,此处一定是https协议,同时输入Web App URL后,后面应该写_trust,而非adfs/ls

 


 

  1. 在部署Relying party trust identifier处输入:urn:sharepoint:webappname,如下图所示:

 


 

  1. 部署完Relying party trust后,部署Claim rule,选择Send LDAP Attributes as Claimstemplate,如下图所示:

 


 

 

  1. 选择Active Directory作为Attribute Store,配置LDAP以及Outgoing Claim Type,如下图所示:

 


 

  1. 选择Security Token ServiceCertification,若Certificate Information显示is not trusted,那么点击Install Certificate,如下图所示:

 


 

  1. 选择Certificate的存储地址,Trusted Root Certification Authorties,如下图所示:

 


 

  1. 导出 STS Certificate,如下图所示:

 


 

 

第三阶段:将SharePoint2013配置为将AD FS视为受信任的IdentityProvider

 

  1. 通过使用SharePoint PowerShell导入Token Signing Certification,如下图所示:

 

$cert= New-ObjectSystem.Security.Cryptography.X509Certificates.X509Certificate2("c:\ADFS.cer")

 


 

New-SPTrustedRootAuthority-Name "Token Signing Cert1" -Certificate $cert

 


 

  1. 使用SharePoint PowerShellClaim Mapping定义Unique Identifier,如下图所示:

 

$emailClaimMap= New-SPClaimTypeMapping -IncomingClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"-IncomingClaimTypeDisplayName "EmailAddress" –SameAsIncoming

 


 

  1. 创建Authentication Provider,如下图所示:

 

$realm= "urn:sharepoint:spshelley"

 


 

$signInURL = "https://ADFSShelley.Partner.net/adfs/ls"

 


 

$ap= New-SPTrustedIdentityTokenIssuer -Name ADFS1 -Description ADFS -realm $realm-ImportTrustCertificate $cert -ClaimsMappings $emailClaimMap -SignInUrl$signInURL -IdentifierClaim $emailClaimmap.InputClaimType

 


 

第四阶段:将WebApplication配置为将基于声明的身份验证和AD FS用作受信任的身份提供程序

 

  1. SharePoint Server端,选择指定的Web Application,改变其Authentication Provider,如下图所示:

 


 

  1. 创建Site Collection,可以使用AD FSUser作为Account,如下图所示:

 


 

  1. 用户登录site collection,可以选择登录的认证方式,如下图所示:

 


 

希望本篇文章部署,能给大家带来帮助,如有部署上的问题,欢迎与我取得联系。

  • 4
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
作者: Jorgensen, Adam; Wort, Steven; Loforte, Ross An essential how-to guide for experienced DBAs on the most significant product release since 2005! Microsoft SQL Server 2012 will have major changes throughout the SQL Server and will impact how DBAs administer the database. With this book, a team of well-known SQL Server experts introduces the many new features of the most recent version of SQL Server and deciphers how these changes will affect the methods that administrators have been using for years. Loaded with unique tips, tricks, and workarounds for handling the most difficult SQL Server admin issues, this how-to guide deciphers topics such as performance tuning, backup and recovery, scaling and replication, clustering, and security. Serves as a must-have how-to guide on the new features of the 2012 release of Microsoft SQL Server Walks you through ways to manage and monitor SQL Server and automate administration Guides you through SQL Azure for cloud computing, data replication, and data warehouse performance improvements Addresses client-connectivity enhancements, new features that ensure high availability of mission-critical applications, and tighter integration with Excel and SharePoint for data analysis and reporting Highlights major changes to the suite of SQL Server BI tools, including integration, reporting, and analysis services Includes real-world case examples and best practices from Microsoft insiders If you're a database administrator eager to get started with the newest version of SQL Server, then this book is essential reading.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值