This page is obsolete. Refer instead to Grouper Provisioning Plugin.

COmanage Registry can be connected with Grouper for three purposes:

  1. For Grouper to use Registry as a subject source (a source of identifiers which can be managed with group memberships).
  2. For Registry to obtain and manage the group information it needs to operate.
  3. To provision data that can be used to construct groups within Grouper.

These are configured separately – it is not necessary to use Grouper for all three purposes.

Overview of Registry + Grouper Integration

Configuring Registry to supply Subject source information to Grouper

These instructions are written for Grouper version 2.1.2 and assume a working knowledge of Grouper, the Grouper UI, and Grouper web services. Details for deploying and configuring Grouper are out of scope for this document and can be found at the Grouper wiki.

As of Registry 0.7 using the Registry as a JDBC Subject source for Grouper must be configured before the initial Registry configuration and deployment.

As of Registry 0.7 using the Registry as a JDBC Subject source for Grouper requires MySQL. PostgreSQL is not supported as of version 0.7.

  1. Edit the file registry-source/app/Plugin/Grouper/Config/bootstrap.php and set the configuration option Grouper.useCOmanageSubjectSource to true.

    If you intend Registry to store and manage group information in Grouper in addition to using Registry as a Subject source for Grouper then read below for additional configuration details.

  2. Continue with the standard Registry deployment and configuration instructions and return here after deploying Registry.
  3. Configure a Grouper JDBC Subject source to use Registry entries in the database. The recommended sources.xml configuration is attached.

    Be sure to grant a Grouper user read access to the Registry database tables and configure the grouper.hibernate.properties file appropriately.

  4. Use Registry to create COs and add people to the COs. Only CO people and not organizational identities are available as Grouper subjects. After creating CO people you should see them as available subjects in Grouper.

Configuring Registry to Manage Group Information in Grouper

These instructions are written for Grouper version 2.1.2 and assume a working knowledge of Grouper, the Grouper UI, and Grouper web services. Details for deploying and configuring Grouper are out of scope for this document and can be found at the Grouper wiki.

As of Registry 0.7 managing group information in Grouper must be configured before the initial Registry configuration and deployment.

As of Registry 0.7 managing group information in Grouper requires that Grouper use Registry as a subject source. See above for details on how to configure Registry so that Grouper can use it as a subject source.

Registry manages group information in Grouper using the Grouper web services interface. Please make sure you have a functional Grouper web services deployment before continuing. It may be necessary to set up a temporary subject source for Grouper to be confident that the Grouper web services interfaces are working properly.

  1. Configure the Grouper web services so that a Grouper user has sufficient privileges to access the web services, create stems and groups, and assign attributes. A typical Grouper web services deployment will include privileged access for the user GrouperSystem using a passphrase. We recommend this approach.
  2. Edit the file registry-source/app/Config/Schema/schema.xml and make the following changes:
  3. Edit the file registry-source/app/Plugin/Grouper/Config/bootstrap.php and make the following changes:
  4. Some attribute definitions need to be made in your Grouper deployment before deploying Registry and using Grouper as a data source. This is most easily done by using a Registry Grouper plugin shell script to create a Grouper Shell (GSH) script and then executing the GSH script. To create the script:

    $ cd app
    $ ./Console/cake Grouper.makeAttributeDefScript /tmp/attrdefs.gsh
    
  5. Execute the attribute definition script using GSH. The details will depend on your Grouper deployment. Here is an example execution of the script:

    $ cd /opt/grouper/grouper
    $ sudo -u tomcat6 ./bin/gsh.sh < /tmp/attrdefs.gsh
    

    You can use the Grouper Lite UI to verify the creation of the attribute definitions and attribute definition names by filtering for cm_.

  6. Continue with the standard Registry deployment and configuration instructions and return here after deploying Registry.
  7. Use Registry to create COs and add people to the COs. Only CO people and not organizational identities are available as Grouper subjects. Then use Registry to create groups for the CO and add people to the groups. You should see the groups stored in Grouper within the COmanage base stem that you configured.

Provisioning Registry Data to Grouper

As of version 0.7 provisioning Registry data into Grouper is not yet supported.

  1. Registry provisioning hooks
  2. Grouper Loader via SQL views