-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Verify importedVerify 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:
} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i
- For Web applications:
- 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.
- Use the Administration console to view the security roles for the Web application. See Create scoped security roles.
- For EJBs:
- 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.
- Use the Administration console to view the security roles for the EJB. See Create scoped security roles.