Adobe IMS Authentication and Admin Console Support for AEM Managed Services adobe-ims-authentication-and-admin-console-support-for-aem-managed-services

NOTE
This feature is available to Adobe Managed Services customers only.

Introduction introduction

AEM 6.4.3.0 introduces Admin Console support for AEM instances and Adobe IMS(Identity Management System) based authentication for AEM Managed Services customers.

AEM onboarding to the Admin Console will allow AEM Managed Services customers to manage all Experience Cloud users in one console. Users can be assigned to product profiles associated with AEM instances, allowing them to log in to a specific instance.

Key Highlights key-highlights

  • AEM IMS authentication support is only for AEM Authors, Admins, or Developers, not for external end users of customer site like site visitors
  • The Admin Console will represent AEM Managed Services customers as IMS Organizations and their Instances as Product Contexts. Customer System and Product Admins will be able to manage access to instances
  • AEM Managed Services will sync customer topologies with the Admin Console. There will be one instance of AEM Managed Services Product Context per Instance in the Admin Console.
  • Product Profiles in Admin Console will determine which instances a user can access
  • Federated authentication using customers’ own SAML 2 compliant Identity Providers is supported
  • Only Enterprise or Federated IDs(for customer Single Sign-on) will be supported, not personal Adobe IDs.
  • User Management (in Adobe Admin Console) will continue to be owned by the customer admins.

Architecture architecture

IMS Authentication works by using the OAuth protocol between AEM and the Adobe IMS endpoint. Once a user has been added to IMS and has an Adobe Identity, they can log in to AEM Managed Services instances using IMS credentials.

The user login flow is shown below, the user will be redirected to IMS and optionally to the customer IDP for SSO validation and then redirected back to AEM.

image2018-9-23_23-55-8

How To Set Up how-to-set-up

Onboarding Organizations to Admin Console onboarding-organizations-to-admin-console

The customer onboarding to Admin Console is a pre-requisite to using Adobe IMS for AEM authentication.

As the first step, customers should have an Organization provisioned in Adobe IMS. Adobe Enterprise customers are represented as IMS Organizations in the Adobe Admin Console.

AEM Managed Services customers should already have an organization provisioned, and as part of the IMS provisioning, the customer instances will be made available in the Admin Console for managing user entitlements and access.

The move to IMS for user authentication will be a joint effort between AMS and customers, with each having their workflows to complete.

Once a customer exists as an IMS Organization and AMS is done with provisioning the customer for IMS, this is the summary of the configuration workflows required:

image2018-9-23_23-33-25

  1. The designated System Admin receives an invite to log in to the Admin Console
  2. The System Admin Claims Domain to confirm the ownership of the domain (in this example acme.com)
  3. The System Admin sets up User Directories
  4. The System Admin configures the Identity Provider (IDP) in the Admin Console for SSO setup.
  5. The AEM Admin manages the local groups, permissions, and privileges as usual. See User and Group Sync
NOTE
For more information about the Adobe Identity Management Basics, including IDP configuration see the article this page.
For more info about the Enterprise Administration and Admin Console see the article this page.

Onboarding Users to the Admin Console onboarding-users-to-the-admin-console

There are three ways to onboard users depending on the size of the customer and their preference:

  1. Manually create users and groups in Admin Console
  2. Upload a CSV file with users
  3. Sync users and groups from the customer’s enterprise Active Directory.

Manual Addition through Admin Console UI manual-addition-through-admin-console-ui

Users and Groups can be manually created in the Admin Console UI. This method can be used if they do not have many users to manage. For example, fewer than 50 AEM users.

Users can also be manually created if the customer is already using this method for administering other Adobe products like Adobe Analytics, Adobe Target, or Adobe Creative Cloud applications.

image2018-9-23_20-39-9

File Upload in the Admin Console UI file-upload-in-the-admin-console-ui

For easy handling of user creation, a CSV file can be uploaded for adding users in bulk:

image2018-9-23_18-59-57

User Sync Tool user-sync-tool

The User Sync Tool (UST in short) enables enterprise customers to create or manage Adobe users that use Active Directory or other tested OpenLDAP directory services. The target users are IT Identity Administrators (Enterprise Directory and System Admins) who will be able to install and configure the tool. The open-source tool is customizable so that customers can have a developer modify it to suit their own particular requirements.

When User Sync runs, it fetches a list of users from the organization’s Active Directory (or any other compatible data source) and compares it with the list of users within the Admin Console. It then calls the Adobe User Management API so that the Admin Console is synchronized with the organization’s directory. The change flow is entirely one way; any edits made in the Admin Console do not get pushed out to the directory.

The tool allows the system admin to map user groups in the customer’s directory with product configuration and user groups in the Admin Console, the new UST version also allows dynamic creation of user groups in the Admin Console.

To set up User Sync, the organization needs to create a set of credentials in the same way they would use the User Management API.

image2018-9-23_13-36-56

User Sync is distributed through the Adobe Github repository at this location:

https://github.com/adobe-apiplatform/user-sync.py/releases/latest

Note that a pre-release version 2.4RC1 is available with dynamic group creation support and can be found here: https://github.com/adobe-apiplatform/user-sync.py/releases/tag/v2.4rc1

The major features for this release are the ability to dynamically map new LDAP groups for user membership in the Admin Console, and dynamic user group creation.

More information about the new group features can be found here:

https://adobe-apiplatform.github.io/user-sync.py/en/user-manual/advanced_configuration.html#additional-group-options

NOTE
For more information regarding the User Sync Tool, see the documentation page.
The User Sync Tool needs to register as an Adobe I/O client UMAPI using the procedure described here.
The Adobe I/O Console Documentation can be found here.
The User Management API that is used by the User Sync Tool is covered at this location.
NOTE
The AEM IMS configuration will be handled by the Adobe Managed Services team. However, the customer administrator may modify it as per their requirements (for example, Auto Group Membership or Group Mapping). The IMS client will also be registered by your Managed Services team.

How to Use how-to-use

Managing Products and User Access in Admin Console managing-products-and-user-access-in-admin-console

When the customer Product Administrator logs in to Admin Console, they will see multiple instances of the AEM Managed Services Product Context as shown below:

screen_shot_2018-09-17at105804pm

In this example, the org AEM-MS-Onboard has 32 instances spanning different topologies and environments like Stage, Prod, and so on.

screen_shot_2018-09-17at105517pm

The instance details can be checked to identify the instance:

screen_shot_2018-09-17at105601pm

Under each Product Context instance, there will be an associated Product Profile. This product profile is used for assigning access to users.

image2018-9-18_7-48-50

Any users added under this product profile will be able to login to that instance as shown in the example below:

screen_shot_2018-09-17at105623pm

Logging into AEM logging-into-aem

Local Admin Login local-admin-login

AEM can continue to support local logins for Admin users, as the login screen has an option to log in locally:

screen_shot_2018-09-18at121056am

IMS Based Login ims-based-login

For other users, the IMS based login can be used once IMS is configured on the instance. The user first clicks Sign in with Adobe as shown below:

image2018-9-18_0-10-32

They will then be redirected to the IMS login screen and enter their credentials:

screen_shot_2018-09-17at115629pm

If a federated IDP is configured during initial Admin Console setup, then the user will be redirected to the customer IDP for SSO.

The IDP is Okta in the below example:

screen_shot_2018-09-17at115734pm

After authentication is complete, the user will be redirected back to AEM and logged in:

screen_shot_2018-09-18at120124am

Migrating Existing Users migrating-existing-users

For existing AEM instances that are using another method of Authentication and are now being migrated to IMS, there needs to be a migration step.

Existing users in the AEM repository( sourced locally, via LDAP or SAML) can be migrated to point to IMS as the IDP using the User Migration Utility.

This utility will be run by your AMS team as part of IMS provisioning.

Managing Permissions and ACLs in AEM managing-permissions-and-acls-in-aem

Access control and permissions will continue to be managed in AEM, this can be achieved using separation of User Groups coming from IMS( for example, AEM-GRP-008 in the example below) and local groups where the permissions and access control is defined. The user groups that are synced from IMS can be assigned to local groups and inherit the permissions.

In the example below, we are adding synced groups to the local Dam_Users group as an example.

Here, a user has also been assigned to a few groups in the Admin Console. (The users and groups can be synced from LDAP using the user sync tool or created locally. See Onboarding Users to the Admin Console earlier).

NOTE
User groups only get synced when the users log in to the instance.

screen_shot_2018-09-17at94207pm

The user is part of the following Groups in IMS:

screen_shot_2018-09-17at94237pm

When the user logs in, their Group Memberships are synced, as shown below:

screen_shot_2018-09-17at94033pm

In AEM, the user groups synced from IMS can be added as members to existing local groups, for example, DAM Users.

screen_shot_2018-09-17at95804pm

As shown below, the group AEM-GRP_008 inherits the Permissions and Privileges of DAM Users. This is an effective way of managing permissions for synced groups and is commonly used in LDAP-based Authentication methods as well.

screen_shot_2018-09-17at110505pm

recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2