In the Security tabbed pane, you can provide security identity to a
user. You can also edit the list of
from your web component's code and the
that map to the security role
references.
In the Security Identity pane, select a security identity
to be propagated to the beans:
Choose Use Caller ID if you want the principal of this web
component's caller to be propagated to other beans that it calls.
Choose Run as Role and select the Role Name from the drop
down list if you want another security identity to be propagated to other beans,
besides the caller's security identity.
Click Edit Roles if the role that you want to use as the security
identity is not in the list. The User in Role field lists the users on
the target server that have been mapped to the selected Role Name.
To add a security role reference and map it to a security role
name:
Click Add.
In the Coded Name column, enter the security role reference
hardcoded in the web component's isUserInRole methods.
If the security role name that you want to map to the security role
reference is not listed in the Role Name drop-down list, click Edit Roles.
Select the security role name that maps to the coded name
from the drop-down list in the Role Name column.
To edit a security role reference, select the name from the Coded
name column and type the new name.
To change the security role name that maps to a security role
reference:
Click Edit Roles if the security role name that you want to
map to the security role reference is not listed in the Role Name drop-down list.
Select the new security role name from the drop-down list in
the Role Name column.
To delete a role name from the table, select the role name and
click Delete. A confirmation dialog asks if you really want to delete the role name.