A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
Joined: Sep 24, 2009
May 25, 2010 09:42:14
Is <auth-constraint>*<auth-constraint> same as <auth-constraint/>?
I am slow but sure
Joined: Mar 22, 2005
May 25, 2010 09:47:26
Probably not. From an XML point of view, "<auth-constraint/>" is the same as "<auth-constraint></auth-constraint>".
But that's easy to
Ping & DNS, my free Android app for network diagnostics
Joined: Aug 03, 2008
May 25, 2010 11:58:12
This is not the right syntax to declare authentication constraint. The following is the syntax used to allow all users to access the resource on the server.
<auth-constraint> <role-name>*</role-name> </auth-constraint>
disallows all users to access the resource...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
I agree. Here's the link:
question about * and empty secutiry constraint
Question about security constraints
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013