This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Authentication" Watch "Authentication" New topic


MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
Is <auth-constraint>*<auth-constraint> same as <auth-constraint/>?

I am slow but sure
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41169
Probably not. From an XML point of view, "<auth-constraint/>" is the same as "<auth-constraint></auth-constraint>".
But that's easy to test, no?

Ping & DNS - my free Android networking tools app
Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

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/> disallows all users to access the resource...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
wood burning stoves
subject: Authentication
Similar Threads
question about * and empty secutiry constraint
SCWCD guys
Question about security constraints
auth-contraint question