Two Laptop Bag*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "web.xml and <role-name>" Watch "web.xml and <role-name>" New topic
Author

web.xml and <role-name>

Richard Gray
Greenhorn

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: 3019
    
  35

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

Yes, its legal.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

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


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

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
request.isUerInRole()