Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Building Microservices this week in the Design 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

Joined: Jul 29, 2008
Posts: 3603

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

Joined: Aug 03, 2008
Posts: 9405

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: web.xml and <role-name>
It's not a secret anymore!