0 Replies Latest reply on Jun 26, 2013 7:50 AM by d446c779-7bc6-4bdb-8b14-a28f597c1cef

    How to specify the security policy "Allow access to everyone" for security role in Deployment descriptor




      I am migrating a web application from Websphere to Weblogic. The web application has a security role defined in web.xml (Use LDAP for authentication).





      This role is mapped to a special subject "All authenticated user in appliation realm" in WAS.

      In weblogic, I have the following setting in weblogic.xml



              <wls:externally-defined />


      And after deploy the application, have to manually add a security role and add the security policy "Allow access to everyone" to this role.

      I am wondering if this setting can be specified in  for example weblogic.xml so just deploy web applicaiton using deployment descriptor, and I don't need write script to do that .