Roles
Roles define privileges for user and device identities. Roles let you automatically assign and update privileges in numerous identity profiles. For further information about roles and assignments, refer to Roles and assignments.
The role object is a managed object type that uses the relationships mechanism to link the role to the managed object to which it applies.
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/realm-name_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.
Authorization roles can also be granted statically during authentication with the defaultUserRoles
property.