Skip navigation.

Administration Console Online Help

PreviousNextvertical dots separating previous/next from contents/index/pdfContents

Access EJB resources

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:

  1. If the Web Application is deployed within an enterprise application (EAR):
    1. In the left panel expand Deployments and select the EJB module or individual EJB, for example:

      Deployments > MyEAR > EJBModule > myEJB

    2. On the Settings page for the EJB select Security > Roles to display the Scoped Roles table.
  2. If the Web Application is a stand-alone deployment:
    1. In the left panel, expand Deployments and select the Web application, for example:

      Deployments > MyEJBApp

    2. Select the level where you want to apply the security role:

      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.

  3. Return to the main task. Start at Create scoped security roles: step 2

 

Skip navigation bar   Back to Top