Oracle Weblogic Server (MOSC)

MOSC Banner

How to configure weblogic for anonymous security role assignment

edited Jun 1, 2017 5:00AM in Oracle Weblogic Server (MOSC) 1 commentAnswered

We have a .war that needs to run in both an SSO and Non-SSO environment.

The security-constraint in web.xml is defined as:

     <security-constraint>

        <web-resource-collection>

            <web-resource-name>General Authentication Requirement</web-resource-name>

                <url-pattern>/*</url-pattern>

            <http-method>GET</http-method>

                <http-method>POST</http-method>

        </web-resource-collection>

        <auth-constraint>

                <description>XYZ Application Role</description>

                <role-name>XYZApplicationRole</role-name>

        </auth-constraint>

        </security-constraint>

        <security-role>

                <description>Default Security Role to access the XYZ Application for use with some SSO frameworks</description>

                <role-name>XYZApplicationRole</role-name>

        </security-role>

What would I need to configure/map in weblogic.xml and/or in the WebLogic side to allow anonymous access configuration for the role?

I have tried in weblogic.xml

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center