wood burning stoves*
The moose likes Servlets and the fly likes web.xml and <role-name> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml and <role-name>" Watch "web.xml and <role-name>" New topic

web.xml and <role-name>

Richard Gray

Joined: Aug 08, 2008
Posts: 13
Is defining in a web.xml <role-name>*</role-name> legal? or do you need to literally specify a name like <role-name>USER</role-name>
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3017

Richard Gray wrote:Is defining in a web.xml <role-name>*</role-name> legal?

Yes, its legal.

Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

Are you talking about role-name inside security-role or auth-constraint??

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Richard Gray

Joined: Aug 08, 2008
Posts: 13
both inside the security-role and auth-constraint.
I agree. Here's the link: http://aspose.com/file-tools
subject: web.xml and <role-name>
Similar Threads
mutiple groups to same security role
A question about security
<security-role-ref> comes under which tag??
doubt in security role ref