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 HFS&J page 637 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 "HFS&J page 637" Watch "HFS&J page 637" New topic
Author

HFS&J page 637

s ramaswamy
Greenhorn

Joined: Apr 24, 2005
Posts: 2
The errata from
http://www.oreilly.com/catalog/headservletsjsp/errata/headservletsjsp.confirmed
says
==================
[637] Case 2;
The second row should not have Diane and Annie crossed out.
All of these users would have permission to use the webapp.
==================
Is this correct.

From the DD snippet shown for second row, it looks like only the "Guest" role should have access to the constrained request.

here is the DD snippet from the book.
=============================
<security-constraint>
<auth-constraint>
<role-name>Guest</role-name>
</auth-constraint>
</security-constraint>
=============================

thanks in advance for your time.

ram

[ April 24, 2005: Message edited by: s ramaswamy ]
[ April 24, 2005: Message edited by: s ramaswamy ]
liny
Greenhorn

Joined: Dec 08, 2004
Posts: 10
They are all guests, aren't they?
So they all have permission.
s ramaswamy
Greenhorn

Joined: Apr 24, 2005
Posts: 2
Yes.
I re-read the page after reading your reply. I missed that they all belong to the "guest" role also.

thank you
ram
 
 
subject: HFS&J page 637
 
Similar Threads
HttpSessionActionListener and DD
HFS+JSP Errata
security-constraint
HFSJ Errata - error about auth-constraint
HFSJ errata confusion