Roles
The managed role object is a default managed object type that uses the relationships mechanism. You should understand how relationships work before you read about IDM roles.
IDM role types
IDM supports two types of roles:
-
Provisioning roles : used to specify how objects are provisioned to an external system.
Provisioning roles are created as managed roles, at the context path
openidm/managed/role/role-name
, and are granted to managed users as values of the user’sroles
property. -
Authorization roles : used to specify the authorization rights of a managed object internally, within IDM.
Authorization roles are created as internal roles, at the context path
openidm/internal/role/role-name
, and are granted to managed users as values of the user’sauthzRoles
property.
Provisioning roles and authorization roles use relationships to link the role to the managed object to which it applies. Authorization roles can also be granted statically, during authentication, with the defaultUserRoles
property.
For more information, refer to Authentication and roles.