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


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: 42047
    
  64
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
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  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
 
GeeCON Prague 2014
 
subject: Authentication