• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

HFS&J page 637

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They are all guests, aren't they?
So they all have permission.
 
s ramaswamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes.
I re-read the page after reading your reply. I missed that they all belong to the "guest" role also.

thank you
ram
 
reply
    Bookmark Topic Watch Topic
  • New Topic