Print
Category: Cisco Unified Communications (IPT)

http://docwiki.cisco.com/wiki/SAML_SSO_Configure_Microsoft_Active_Directory_Federation_Services_Identity_Provider_on_Windows_Platform#Enable_SSO_on_Unified_Communications_Applications

Applicable to Collaboration Systems Release 10.5

Contents

[hide]

Introduction

Single sign-on (SSO) is a session or user authentication process that permits a user to provide credentials to access one or more applications. The process authenticates the user for all the applications they have been given rights to and eliminates further prompts when they switch applications during a particular session.

For more information about the SAML SSO Solution see: SAML SSO Deployment Guide for Cisco Unified Communications Applications, Release 10.5

This document provides steps to configure Microsoft Active Directory Federation Services (AD FS) 2.0 (Roll-up 3) as Identity Provider (IdP), on a Windows platform, and integration with Cisco Unified Communications Manager (Unified CM) in order to enable SAML SSO.

Topologies

In the Collaboration Systems test bed, AD FS 2.0 (Roll-up 3) was configured on a Windows platform to enable SAML SSO with username, password authentication. In the diagram below, Cisco Unified Communications Manager, Cisco Unified Communications Manager IM and Presence, Cisco Prime Collaboration Manager, and Cisco Unity Connection servers were configured for SAML SSO for administrator user accounts to allow administrators to log in to any of these servers in the organization without needing to re-enter credentials repeatedly. Active Directory was used as the LDAP directory service when importing and authorizing end users. End users were synchronized from AD using the "sAMAccountName" attribute in Active Directory. For a detailed description of Collaboration Systems test architecture, see Tested Deployment and Site Models for Collaboration Systems Release 10.5(1).

Sso-config-article-ADFS jun9 wiki 01.jpg

Call Flow Diagram

For a graphical representation of the SAML SSO call flow, refer to the "SAML SSO Call Flow" topic in SAML SSO Deployment Guide for Cisco Unified Communications Applications, Release 10.5.

Configuration

This section provides the high-level tasks and related information for configuring AD FS 2.0 (Roll-up 3) as an Identity Provider, and how to integrate with Unified CM, IM and Presence Service, Cisco Unity Connection, or Cisco Prime Collaboration to use SAML SSO.

TIP: For SAML SSO to work, the Cisco Unified Communications application and the IdP clocks must be synchronized.

TIP: When Unified CM/Unified CM IM and Presence Service use a Multi-SAN certificate, their SP Metadata for SAML SSO ends up containing the same certificate. Microsoft AD FS prior to Rollup 3 cannot create multiple relying party trusts for SPs that use the same certificate. If using Multi-SAN certificates in conjunction with AD FS, install AD FS Roll-up 3 and follow the directions to relax the certificate check policy. Refer to "Issue 3" under the "More Information" section of this document: http://support.microsoft.com/kb/2790338.

Export Metadata from AD FS

When you enable SSO on the Cisco application server, you will be asked to provide the IdP's metadata file.

Procedure
Step 1 To export the IdP metadata file from AD FS for use on the Cisco Unified Communications applications, go to this link:

https: ///FederationMetadata/2007-06/FederationMetadata.xml

Configure a Relying Party Trust for SSO

You must create a relying party trust on AD FS for every node in your deployment that you wish to enable SSO access on. Therefore, repeat the prerequisites and steps 1 through 21 for each node.

Prerequisites

 

Procedure
Step 1 Choose Start > Programs > AD FS 2.0.
Step 2 Select Add Relying Party Trust.
Step 3 From Add Relying Party Trust Wizard Welcome page, click Start.
Step 4 From the Select Data Source screen, click the Import data about the relying party from a file radio button and browse to the Fedlet metadata XML file which you downloaded from the SAML Single Sign-on configuration pages. Click Next.
Step 5 From the Specify Display Name screen, enter a name in the Display name field. Click Next.
Step 6 From the Choose Issuance Authorization Rules screen, choose Permit All Users to access this relying party. Click Next.
Step 7 Review the settings on the Ready to Add trust screen. Click Next.
Step 8 To add the Claim Rules, from the Finish screen, check the Open the Edit Claim Rules dialog for this relying party trust when the wizard closes check box. Click Close.
Step 9 From the Edit Claim Rules screen, click Add Rule.
Step 10 Select the default Claim Rule template Send LDAP Attributes as Claims. Click Next.
Step 11 From the Configure Claim Rule screen, enter a claim rule name (Example: "Send uid attribute") in the Configure rule name field.
Step 12 From the Attribute store drop-down list, choose Active Directory.
Step 13 From the LDAP Attribute drop-down list, choose the attribute in the directory that the Cisco Unified Communications application end users are synchronized with (typically "SAM-Account-Name" or "E-Mail-Addresses").
Step 14 From the Outgoing Claim Type drop-down list, enter "uid". Note: "uid" will not appear in the list of drop-down items, you must manually enter it.
Step 15 Click Finish.
Step 16 To add a second rule, click Add Rule.
Step 17 From the Claim rule template drop-down list, select Send Claims Using a Custom Rule.
Step 18 In Claim rule name field, enter a name (Example: "Send additional attributes").
Step 19 In the custom rule text box, enter in the following. Note that the [ADFS entity ID] and [Cisco Unified Communications application entity ID] below must be changed.

c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"] => issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"] = "urn:oasis:names:tc:SAML:2.0:nameid-format:transient”, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/namequalifier"] = "[ADFS entity ID]”, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/spnamequalifier"] = “[Cisco Unified Communications application entity ID]");


ADFS entity ID should match the "entityID" attribute given in the AD FS FederationMetadata.xml file which you have uploaded to the Unified Communications application. Open the XML file with a text editor and search for "entityID" to locate the attribute.


Cisco Unified Communications application entity ID should match the "entityID" attribute given in the SP metadata XML file for the particular Unified Communications application node. Open the XML file with a text editor and search for "entityID" to locate the attribute.

Step 20 Click OK.
Step 21 Click Apply.
Step 22 Repeat Steps 1-21 for each node.


Tip: For SAML SSO to work on a Federal Information Processing Standard (FIPS) enabled Unified CM integrated with AD FS as the IdP, you must disable encryption on AD FS. To disable encryption, on the AD FS 2.0 computer, choose Start > Administrative Tools > Windows PowerShell Modules. From the Windows PowerShell command prompt, enter: Add-PsSnapIn Microsoft.Adfs.Powershell. Enter: set-ADFSRelyingPartyTrust -TargetName "RELYING PARTY NAME" -EncryptClaims $False. Enter the Display Name of your relying party trust in AD FS in place of "NAM Example".

Enable SSO on Unified Communications Applications

When you have configured the IdP appropriately for every node in the cluster, proceed to enable SSO. To enable SSO for every node in the cluster:

Procedure
Step 1 Navigate to the following page for each application:
  • Unified CM and IM and Presence Service: Using a web browser, log in to Unified CM as administrator, navigate to System > SAML Single Sign On.
  • Cisco Unity Connection: Using a web browser, log in to Unity Connection as administrator, navigate to System Settings > SAML Single Sign On.
  • Cisco Prime Collaboration Assurance: Using a web browser, log in to Prime Collaboration Assurance as globaladmin, navigate to Administration > System Setup > Single Sign On.
Step 2 Click Enable SAML SSO and follow the steps. When prompted to supply the IdP’s metadata file, use the file obtained in the Export Metadata from ADFS procedure. When prompted to download the Cisco Unified Communications application’s SP Metadata File, download the file and click Next. (These files have already been loaded into the IdP in the Configure a Relying Party Trust for SSO procedure).

Related Documentation

  • Currently 4.33/5
  • 1
  • 2
  • 3
  • 4
  • 5

Rating: 4.3/5 (3 votes cast)