This section describes the following policy XML descriptor elements:
The role element defines a security role that may be associated with a set of resources. Membership of the role can include Active Directory groups or principals, or other roles.
If the idm.access.groupsAsRoles option is enabled, role definitions can be used to avoid name clashes with existing Active Directory groups.
Attribute |
Required |
Description |
name |
Yes |
name of the role |
Attribute |
Required |
Description |
<include> |
Yes |
Contains a list of the groups, users or roles that are members of this role |
<exclude> |
Optional |
Contains a list of the groups, users or roles that are not members of this role |
|
Note: Group names are case-sensitive. |
<role name="TechniciansGroupA">
<include>
<user name="Alice"/>
</include>
</role>
<role name="TechniciansGroupB">
<include>
<user name="Bob@ACME"/>
<user name="Carol@ACME"/>
</include>
</role>
For this example, we use the well-known Active Directory group “Domain Users” to represent all users in a domain.
<role name="TechniciansAndUnqualified">
<include>
<group name="Domain Users@ACME"/>
<group name="Domain Users@APEX"/>
</include>
</role>
<role name="AlmostAllTechnicians">
<include>
<group name="Domain Users@ACME"/>
</include>
<exclude>
<user name="Alice@ACME"/>
</exclude>
</role>
Note: It is a property of Active Directory that all users belong to the Domain Users group. |
<role name="Unqualified">
<include>
<user name="Alice@APEX"/>
<user name="Dave@APEX"/>
<user name="Carol"/>
</include>
</role>
Note: The default domain of the role above is ACME. |
<role name="QualifiedTechnicians">
<include>
<role name="AllTechnicians"/>
</include>
<exclude>
<role name="Unqualified"/>
</exclude>
</role>
List of groups, users or roles that are members of a given role.
|
Note: At least one user, group or role element must be present. |
Element |
Required |
Description |
<group> |
Optional |
Active Directory group to be included as a member of a given role |
<role> |
Optional |
Role to be included as a member of a given role |
<user> |
Optional |
Active Directory user to be included as a member of a given role |
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center