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 security-constraint 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 "security-constraint" Watch "security-constraint" New topic
Author

security-constraint

Art Van Delay
Greenhorn

Joined: Sep 05, 2005
Posts: 6
In web.xml, <security-constraint> would it be correct to say:

* Leave off <http-method> means allow all
* Leave off <auth-constraint> means allow all
* Specifying element means allow one except for an empty element which means allow none.

Thanks in advnace.


-- Arthur<br /> <br />A journey of a thousand miles...
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Art Van Delay:
In web.xml, <security-constraint> would it be correct to say:

* Leave off <http-method> means allow all
* Leave off <auth-constraint> means allow all
* Specifying element means allow one except for an empty element which means allow none.


Yes. Not sure about the second part of the third-one, though.

In web.xml, <security-constraint> would it be correct to say:

* Leave off <http-method> means apply to all Http methods
* Leave off <auth-constraint> means allow all
* Specifying element means allow one except for an empty element which means allow none.
AmitKumar Jain
Ranch Hand

Joined: Jun 13, 2005
Posts: 95
I confirmed the last one too from HFSJ...
I'd also like to add:

<auth-constraint>*</auth-constraint> ==> allow all
<auth-constraint></auth-constraint> ==> allow none


SCJP 1.4 : 91%
SCWCD 1.4 : 95%
SCBCD 1.3 : 95%
SCJP 6 Upgrade : 95%
Next SCBCD 1.5
Man is not finished when he is defeated. He is finished when he quits.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: security-constraint
 
Similar Threads
auth-constraint doubt
Dueling auth-constraint elements
jdiscuss Question A day Oct. 9
auth-contraint question
<auth-constraint>