Mapped Security Roles Property Editor

The Mapped Security Roles property editor enables you to map roles to principals (users) or groups in the currently active realm. You open the Mapped Security Roles property editor by selecting the Mapped Security Roles property and its ellipsis (...) button from the Sun ONE AS pane of the web.xml property sheet, EJB Module Property Sheet, or J2EE Application Property Sheet.

To create a new principal

  1. Click Add Principal.
  2. Type a principal name in the Enter Principal Name field.
  3. Click OK.

To create a new group

  1. Click Add Group.
  2. Type a group name in the Enter Group Name field.
  3. Click OK.

To maps a role to principals

  1. Select a role to map in the Role Mappings field.
  2. Select a principal that the role maps to.
  3. Click Add Principal to Role.
  4. To map to additional principals, select the principals and click Add Principal to Role.

To maps roles to groups

  1. Select a role to map in the Role Mappings field.
  2. Select a group that the role maps to.
  3. Click Add Group to Role.
  4. To map to additional groups, select the groups and click Add Group to Role.
note  Each role could be mapped to both principals and groups at the same time.

See also
   Web Module Property Sheet: Sun ONE AS Tab
EJB Module Property Sheet: Sun ONE AS Tab

Legal Notices