File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Authentication" Watch "Authentication" New topic
Author

Authentication

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
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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 - updated with new look and Ping home screen widget
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Authentication
 
Similar Threads
SCWCD guys
question about * and empty secutiry constraint
Question about security constraints
auth-constraint
auth-contraint question