> Probably a bug in the version of Tomcat 5.?.? that you were using. See this > bugzilla entry: 5.26
Is there a way in tomcat 7 to mention the roles outside of web.xml. Bijesh. On Fri, Aug 12, 2011 at 4:14 PM, Caldarale, Charles R <[email protected]> wrote: >> From: Bijesh Vijayan [mailto:[email protected]] >> Subject: auth-constraint > >> I was having the following entry in my application web.xml in tomcat 5. > > You need to be precise when stating Tomcat versions; Tomcat 5.what.what? > >> <auth-constraint> >> <role-name>*</role-name> >> </auth-constraint> > > Let's look at section 12.7 of the servlet spec: > > "The special role name "*" is a shorthand for all role names defined in the > deployment descriptor." > >> I was getting all the roles from the Database. > > Probably a bug in the version of Tomcat 5.?.? that you were using. See this > bugzilla entry: > https://issues.apache.org/bugzilla/show_bug.cgi?id=15570 > >> When I migrated to tomcat 7, I need to mention all the roles in >> application web.xml. > > As the spec requires. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
