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

    d446c779-7bc6-4bdb-8b14-a28f597c1cef

      Hi,

       

      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).

      security-role>

              <description>Authenticated</description>

              <role-name>Authenticated</role-name>

          </security-role>

      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:security-role-assignment>

              <wls:role-name>Authenticated</wls:role-name>

              <wls:externally-defined />

          </wls:security-role-assignment>

      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 .

       

      Thanks