tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bijesh Vijayan <bije...@gmail.com>
Subject auth-constraint
Date Fri, 12 Aug 2011 19:49:24 GMT
Hi,

I was having the following entry in my application web.xml in tomcat 5.

                <auth-constraint>
                        <role-name>*</role-name>
                </auth-constraint>

I was getting all the roles from the Database.

When I migrated to tomcat 7, I need to mention all the roles in
application web.xml.

                <auth-constraint>
                        <role-name>PORTAL_DEV</role-name>
                        <role-name>ADMIN</role-name>
               </auth-constraint>

So now I need to maintain the roles in both Database and in web.xml.
Is there a way to mention the roles in web.xml as "*"

Bijesh.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message