rgoodie / openam_13

This is a fork of the Drupal 7 OpenAM module. It includes some additional functionality to support OpenAM API level 13.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What

This is a fork of the Drupal 7 OpenAM module. It includes some additional functionality to support OpenAM API level 13. After patch troubles, abandoning auto roles population, and other changes, I had more changes than a few changes to warrent a patch.

This module is meant to replace the older version, until it is updated to support API 13.

Why

ForgeRock dropped support for legacy calls in the OpenAM API version 12.

How

To Install

As always, test this on a TESTING or DEVELOPMENT server first. This is basically a "drop-in replacement" for the 7.x-1.2 version. In the shell of a TESTING system

  • remove the openam folder
  • clone this repo
  $ rm -rf openam
  $ git clone https://github.com/rgoodie/openam_13.git openam

Caveats:

As is. No warranty. This could break something. Proceed with caution. GPL2 license included. Unless you need to use OpenAM API 13, just stick to the original OpenAM module.

The Original README.txt file

The OpenAM project aims to provide a bridge between Drupal and OpenAM.

How does it work ? If the OpenAM access is activated, the user connection block is hidden to avoid drupal user connection. When a user wants to connect and access to the "/user" page, he is automatically redirected to the OpenAM server URL to login.

Once logged, the user automatically returned in the website and the module create the user (and define it as "external") or connect the user if exists. User informations are update according to the mapping made on the configuration page, between the Drupal user fields and the OpenAM attributes.

Finally, the user is placed in roles, if roles have been created on the Drupal platform.

How install the module ?

  • Copy the module into the sites/[SITE]/modules/contrib directory
  • Activate the module
  • Configure access and attributes mapping on admin/config/services/openam

About

This is a fork of the Drupal 7 OpenAM module. It includes some additional functionality to support OpenAM API level 13.

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%