To provide seamless integration of CAS with Gentics Content.Node and Gentics Portal.Node Java the Gentics SSO CAS Open Source project was created.
To enable integration for Gentics Content.Node make sure that the PHP module “php-imap” is installed and add the following code to your node.conf
:
/Node/etc/node.conf
/** * mapCasGroups receives all user attributes and * has to return the ID of the user group in which * newly created users should reside * * @param $attributes array of user attributes * @retun array of groups for the user */ function mapCasGroups($attributes) { return array(9); } // CAS configuration $CAS_SSO = array( 'protocol' => 'https', 'host' => 'cas-server.mydomain.com', 'port' => 8443, 'path' => 'cas-server', 'groupMapper' => 'mapCasGroups' );