Gathering security roles (J2EE 1.4)
For an enterprise application, you can roll up all the security roles that are defined in the application's modules. You can then combine and remove redundant or unnecessary security roles.
A security role is a logical grouping of principals. Access to operations (such as EJB methods) is controlled by granting access to a role. The
Gather option combines all security roles defined in modules that are included in the application.
To gather security roles, complete the following steps:
- In the Enterprise Explorer view of the Java EE perspective, right-click the Deployment Descriptor for your enterprise application project and select
Open With | Deployment Descriptor Editor to open the Application Deployment Descriptor editor.
- On the Security page of the editor, click
Gather. Any security roles that are defined in the enterprise application's modules are added to the enterprise application. The security roles are not removed from the modules.
Related concepts
Application Deployment Descriptor editor
Related tasks
Defining security roles for enterprise applications (J2EE 1.4)
Replacing security roles (J2EE 1.4)