Before you begin
This subtask is part of the main task for creating a new scoped security role. Start with the main task: Create scoped security roles
Scoped roles for EJBs (Enterprise JavaBeans) apply to a specific type of WebLogic resource related to deployed EJBs. You can create security roles for EJB JARs, individual EJBs within an EJB JAR, or for individual methods on an EJB.
Note: These instructions also apply to Message-driven Beans (MDBs).
Note: If you loaded security roles for the EJB application from deployment descriptors using the Deployment Assistant, you need to Activate Changes and start the application in order to access the roles.
The way you access scoped roles differs slightly depending on how your EBJs are deployed. Start with step1 or step 2:
Deployments > MyEAR > EJBModule > myEJB
Deployments > MyEJBApp
To apply a security role to the entire EJB application and its contents: select Security > Application Scope > Roles
To apply a security role to all of the EJBs in the EJB JAR file: select Security > Module Scope > Roles
To apply a security role to an individual bean, expand the deployment, click the EJB and select Security > Roles.