Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Verify imported roles

Before you begin

This task applies only when you are using the Advanced security model to import roles from a Web application or EJB deployment descriptor. To import roles, see Import security data from deployment descriptors.

To verify imported roles:

- For Web applications:
  1. Open the `weblogic.xml` deployment descriptor for the Web application and record the content of any `<security-role-assignment>` elements, specifically focusing on the `<role-name>` and `<principal-name>` subelements.

     Note: If the deployment descriptor uses the `<externally-defined>` element for a Web application, no scoped roles are actually defined; therefore no scoped roles can be imported.

  2. Use the Administration console to view the security roles for the Web application. See Create scoped security roles.
- For EJBs:
  1. Open the `weblogic-ejb-jar.xml` deployment descriptor for the EJB and record the content of any `<security-role-assignment>` elements, specifically focusing on the `<role-name>` and `<principal-name>` subelements.

     Note: If the deployment descriptor uses the `<externally-defined>` element for an EJB, no scoped roles are actually defined; therefore no scoped roles for the EJB can be copied.

  2. Use the Administration console to view the security roles for the EJB. See Create scoped security roles.