Single Sign-On - Getting Started

Prev Next

Introduction

This page helps you identify and gather the information that you need in order to configure single sign-on (SSO) in Content Manager. You may find that you need to collaborate with your IT department to get the SSO-related information that you need.

The instructions on this page apply to you if your organization hosts Content Manager on your own servers. If you have a SaaS implementation where Scala hosts Content Manager for you, please contact support about setting up SSO, as you will not have access to the necessary settings to do it yourself.

About SSO

Single sign-on (SSO) allows users to authenticate and access pre-determined software applications from a corporate login page using a single username and password. These software applications are usually determined and set-up by an IT professional.

Scala Enterprise's SSO uses your organization's underlying Active Directory (AD) functionality, along with Security Assertion Markup Language 2.0 (SAML 2.0) and Active Directory Federation Services 4.0 (AD FS 4.0).

In Scala Enterprise, the default setting for SSO is off.

A few other key points:

  • Single sign on (SSO) is only available in Content Manager 11.07 and higher.

  • Self signed certificates are not recommended for final implementation off SSO.

  • SSO has only been tested using SAML 2.0, AD FS 4.0, and Java SSL.

  • SSO can only be implemented in Content Manager by a user with a Super Administrator role (it is implemented using the Server Settings - SSO Config page in Content Manager).

  • SSO requires that you have configured SSL.

  • Roles and workgroups can be imported using a .csv file through the User Profiles page.

SSO Requirements

Single Sign On (SSO) has only been certified using SAML 2.0, Microsoft® Active Directory Federation Services 4.0 (AD FS 4.0), and Java SSL.

The following tables identify the required information for SSO implementation. This may require consulting with your IT department to ensure proper implementation. Gather all of these requirements in advance to simplify your implementation of SSO.

Software Prerequisites

The following software is required to implement Scala Enterprise SSO.

Software

Notes

Installation of Content Manager 11.07 or higher

SSO is only available as a feature of Content Manager 11.07 or higher.

SSL for Content Manager

Content Manager must be successfully configured to use SSL before SSO can be implemented, along with the appropriate DNS records configured for SSL. Please see Configuring your CM Environment for SSL for more information.

SAML2 SSO Identity Provider

Scala supports full integration of both SSO authentication and the optional Role/Workgroup mapping with Microsoft ADFS 4.0. SSO Authentication-only support with in-application role/workgroup management has been successfully tested with: Azure AD SSO, Okta SSO, Vmware Workspace One. If your SSO solution is not on this list it still may work, but may require testing.

File Requirements

The following files are required to implement Scala Enterprise SSO.

File Name

Description

IdP Signing Certificate

Obtain this from your IT department. This can often be found within the IdP federation metadata XML file. This file will need to be imported into a Java keystore that also contains your Content Manager's SSL Certificate.

Java SSL and SSO
SSL also requires a keystore file. You must use the same keystore file for SSO.

IdP Federation Metadata file

File created by your IT group or Identity Provider (IdP) that provides the details of the IdP environment to the CM application.

Additional Requirements

Requirement

Description

External URL/Backend URL

The URL for your instance of Content Manager. This is the FQDN URL that users of Content Manager use the access the application without SSO.

Expiration of Token Signing Certificate

Keep this for your records. After this date, the SSO configuration must be updated for continued use. In some instances, this will be automatically updated by your IT department. Generally, these are good for one year.

Mapping User Attributes to SAML 2.0 Attributes

The following table identifies user attributes that must be mapped to Claims Issuance Policies in order for SSO to work.

Claim attribute names are case-sensitive and must be all lowercase in the IdP SAML assertion.

Attribute Description

ADFS Translation Mapping Name

SAML2 Attribute Name

Notes

E-Mail Address

E-Mail Address

emailaddress

Email address should be mapped from the underlying authentication providers email address reference. Common sources for this mapping are mail, email and emailAddress. Your IT department should dictate which source attribute is appropriate for your environment.

Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress

Username

Name ID

nameidentifier

Username attribute may from organization to organization. Common sources for this mapping are userPrincipalName and samAccountName. This value should be globally unique if being implemented in a Scala SaaS environment. Your IT department should dictate which source attribute is appropriate for your environment.

Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier

First name

Given Name

givenname

First name should be mapped from the underlying authentication providers first name reference attribute. Common sources for this mapping are gn, givenName and given-name. Your IT department should dictate which source attribute is appropriate for your environment.

Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname

Last name

Surname

surname

Last name should be mapped from the underlying authentication providers last name reference attribute. Common sources for this mapping are sn and surName. Your IT department should dictate which source attribute is appropriate for your environment.

Attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname

Mapping Roles and Workgroups

Mapping roles and workgroups is optional. If you wish to use user groups to map Content Manager roles and workgroups, you should use this feature.
This feature is only supported with the IdP is ADFS 4.0.

Roles and workgroups may also be mapped to SSO user groups. Each LDAP role and workgroup must be mapped to a Claims Issuance Policy in order for roles and permissions to carry over once logging in to SSO. When mapping roles and workgroups:

  • The Outgoing Claim Type should always be Group.

  • Role and workgroup names are arbitrary and mapped to the Claim Value.

  • The Claim Value must match the role or workgroup prefix plus the name of the role or workgroup in Content Manager.

Attribute Description

ADFS Translation Mapping

SAML2 Attribute Name

Notes

Security Group

Group

Group

Group should be mapped from the underlying authentication providers appropriate security group for each specific Scala CM Role and Workgroup and must be named/mapped to CM with the appropriate values as described above. This functionality is supported in ADFS 4.0. Your IT department should dictate which source attribute is appropriate for your environment.

Attribute: http://schemas.xmlsoap.org/claims/Group

Using a CSV File to Map Roles and Workgroups

In the Attachments section of this page, you will find a .csv file that you can use to map roles and workgroups. This allows automatic mapping of roles and workgroups to SSO users, alleviating the need to configure roles and workgroups via the user interface after applying SSO settings. The .csv being imported should contain data only, and should not contain column headers. The following table identifies each header attribute column, provides a description, value type, notes, and an example.

Attribute

Description

Value Type

Notes

Example

Username

Login ID from SSO

String

Required value. Could be UPN, sAMAccountName or other SSO mapped attribute.

john.doe@domain.com or jdoe, john.doe, etc

Email address

Globally unique email address

String

Required value. Must follow the format uniqueid@domain.com and must be unique within the Scala Content Manager.

john.doe@domain.com

First name

User’s first name

String

Required value.

John

Last name

User’s last name

String

Required value.

Doe

Role(s)

One or more user roles that are already defined within Scala Content Manager

String

Required value. Values should come from Scala Content Manager defined roles (System -> User roles). To define more than one role, use a pipe | as a separator/delimiter.

Single role example: Administrator

Multiple role example: Viewer|Message Manager

Workgroup

The workgroup the user should reside within

String

Optional value. Values should come from Scala CM defined workgroups (System -> Workgroups). You must define the full workgroup path. To indicate workgroup branches or sub-levels use an underscore to separate values. Column must exist, but if left blank users will receive default “all work groups” access.

CorpComm or USA_NY_Manhattan (where USA is the top level, NY, is below USA, and Manhattan is below NY)

Language

The ISO code for the users preferred CM display language. See Language ISO codes below for a list of language options.

String

Optional value – system default if not specified. See the list at the bottom of this document for available options. (default value: en)

en for English

Account Enable

Is this user account active for login?

Boolean

Optional value – system default if not specified. TRUE or FALSE in caps. (default value: TRUE)

TRUE

Auto-Approve content

Should content submitted by this user be automatically approved?

Boolean

Optional value – system default if not specified. TRUE or FALSE in caps. (default value: TRUE)

TRUE

Receive email alerts

Should this user receive CM system email alerts?

Boolean

Optional value – system default if not specified. TRUE or FALSE in caps. (default value: TRUE)

TRUE

Receive content approval emails

Should this user receive email notifications that new content needs to be approved?

Boolean

Optional value – system default if not specified. TRUE or FALSE in caps. (default value: TRUE)

TRUE

Language ISO

The following table identifies the languages supported in Content Manager and the associated ISO Language code.

Language

ISO Language Code

Brazilian Portuguese

pt-br

Chinese Simplified

zh-hans

Chinese Traditional

zh-hant

Danish

da

Dutch

nl

English

en

Finnish

fi

French

fr

German

de

Italian

it

Japanese

ja

Korean

ko

Norwegian

no

Polish

pl

Russian

ru

Spanish

es

Swedish

sv

Turkish

tr-tr

Default Scala SAML Information

  • Entity ID: FQDN of the CM server (customizable if required)

    • Example: server.domain.com

  • ACS URL: https://FQDN/ContentMananger/saml/SSO

  • LOGOUT URL: https://FQDN/COntentManager/saml/SingleLogout

Importing the IdP Signing Certificate

Scala suggests creating a separate copy of your SSL java keystore for use with SSO to ensure that the SSL keystore is not inadvertently impacted or corrupted during implementation and future maintenance. (Example: copy tomcat.jks sso.jks)

Scala will use the SSL certificate as for SSO signing & encryption. You will need to know the name of the keystore alias used for SSL. The default/Scala recommended alias name is “cm”.

  1. Locate your IdP’s signing certificate. The certificate should be in X.509 (DER or BASE-64) format.

  2. Run the following command to import the IdP’s signing certificate:

    1. keytool -alias adfssigning -import -keystore sso.jks -file idp_cert.cer

  3. When prompted, enter your keystore password.

  4. When prompted to Trust/Import this certificate, type YES and press ENTER.

Creating the SP Metadata File

  1. Download SCALA’s Metadata generator helper tool (SSO Sample Application) from the download center and unzip it to a temporary working directory.

  2. Extract the SSO SP signing certificate from your SSO keystore with the following command:

    1. keytool -exportcert -alias cm -keystore sso.jks -rfc -file sp_signing.crt

  3. Run the Metadata generator app and enter the following information:

    1. FDQN of the server (server.domain.com)

    2. Update the SSL port used for web GUI access of the CM if not standard (TCP 443 is standard for HTTPS/SSL)

    3. Select the earlier exported certificate

    4. Click Generate

  4. The SP metadata file is created within the folder from which the Metadata generate app was run.

Sample CSV File

Below you can download a .csv file that you can use as a sample template to map roles and workgroups. As reflected in sample file, your .csv file should contain data only, and it should not contain column headers. Additionally, there is an associated read me text file that provides more information about creating your .csv file.

sample_csv.csv

csv_readme.txt

Setting Up SSO in Content Manager

When you are ready to set up SSO in Content Manager, refer to Server Settings - SSO Config for instructions.

Appendix A: SSO Using SAML 2.0 and Azure Active Directory

While you can use Azure Active Directory (AD) to set up Single Sign On (SSO), it has not been fully tested by Scala.

Prerequisites

You must have administrative permissions to both Azure and Content Manager.

Configuring Azure AD to use Content Manager SSO

  1. Navigate to your company's instance of Microsoft Azure.

  2. Select Azure Active Directory from the left sidebar.

  1. On the the Overview page, select Enterprise applications.

  1. Select the SSO application that you created for Content Manager from the All applications list.

  1. In the Getting Started section, select 2. Set up single sign.

  1. The Set up Single Sign-On with SAML page appears. Go to section 1, Basic SAML Configuration and select the pencil icon.

  1. The Basic SAML Configuration section slides on for editing. In the Identifier (Entity ID) section, enter the domain name for your instance of Content Manager.

  1. In the Reply URL (Assertion Consumer Service URL) field enter the full Content Manager domain name in the following format:
    https://[IP Address]:[port number]/saml/SSO

  2. Save your changes.

  3. Go to section 2, User Attributes & Claims. If you have not added the necessary user attributes and claims, add them now.

Keep in mind the following when creating user attributes and claims:

  • Attributes and claims are case sensitive.

  • Any user attribute ending in Group will be mapped to the Scala role.

  • Any user attribute ending in Workgroup will be mapped to the Scala Workgroup.

  • You may determine your own role and workgroup prefixes.

  1. Go to section 3, SAML Signing Certificate. Download the Federation Metadata XML file to your local machine.

  1. Proceed to configure SSO in Content Manager, refer to Server Settings - SSO Config for instructions.