Keycloak Provisioner Plugin is used to create the entitlements of CO Person following the AARC-G002 specification and provision them to Keykloak systems.
- Run
git clone https://github.com/rciam/comanage-registry-plugin-KeycloakProvisioner.git /path/to/comanage/local/Plugin/KeycloakProvisioner
- Run
cd /path/to/comanage/app
- Run
su -c "Console/clearcache" ${APACHE_USER}
COManage Reference - Run
Console/cake schema create --file schema.php --path /path/to/comanage/local/Plugin/KeycloakProvisioner/Config/Schema
- 🍺
- Run
Console/cake schema update --file schema.php --path /path/to/comanage/local/Plugin/KeycloakProvisioner/Config/Schema
- During updates database alternations, which refer to constraints, have to be deployed manually
After the installation, you have to configure the plugin before using it.
enableVoWhitelist
: Optional, if disabled will create all entitlements otherwise will create only for those in voWhitelist field.voWhitelist
: Optional, an array of strings that contains VOs (COUs) for which the module will generate entitlements.voRoles
: Required, an array of default roles to be used for the composition of the entitlements.mergeEntitlements
: A boolean to indicate whether the redundanteduPersonEntitlement
will be removed from the state. Defaults tofalse
.urnNamespace
: Required, a string to use as the URN namespace of the generatededuPersonEntitlement
values containing group membership and role information.urnAuthority
: Required, a string to use as the authority of the generatededuPersonEntitlement
URN values containing group membership and role information.urnLegacy
: Optional, a boolean value for controlling whether to generateeduPersonEntitlement
URN values using the legacy syntax. Defaults tofalse
.voGroupPrefix
: Optional, defines a prefix for groups if any.entitlementFormat
: Required, defines the format of entitlements to be removed from other systems.VO Whitelist into Format
: Optional, a boolean value for controlling whether a regex expression will be created based to the VO Whitelist groups.The ones in the list will be eligible for deletion.
Licensed under the Apache 2.0 license, for details see LICENSE.