Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Doubt regarding Security Configuration

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everybody,

Is this a valid declaration of "auth-constraint"

<auth-constraint>*</auth-constraint>

If so,What will be the result of this declaration?

Will it act in the same way as

<auth-constraint>
<role-name>*</role-name>
</auth-constraint>

and

with no <auth-constraint> tag?

- That means will it give access to everybody?

Thanks in Advance..
[ August 08, 2007: Message edited by: Rajesh Kodali ]
 
Ranch Hand
Posts: 558
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rajesh,

1.<auth-constraint>
<role-name>*</role-name>
</auth-constraint>

2. No <auth-constraint> tag

3.<auth-constrint/> or <auth-constrint></auth-constrint>

1==2--> (Everybody allowed)
3 -->Nobody allowed



There is no such declaration as below(no meaning)
<auth-constraint>*</auth-constraint>
 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Srinivasan,

In the HFSJ book mock exam 43rd question -

"<auth-constraint>*<auth-constraint>" is also given as the correct answer to give access to everybody.

That's why i got the doubt.

Any way Thanks again
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
have you checked the errata for the book? There are a lot of errors in this book
 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Michael,

The above point is specified in the errata. i.e.
<role-name> should be placed in b/w <auth-constraint> tags.

Actually i checked the errata earlier also but some how i missed this point.

Thanks Michael..

[ August 08, 2007: Message edited by: Rajesh Kodali ]
[ August 08, 2007: Message edited by: Rajesh Kodali ]
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found a lot of errors in HFSJ when I was studying for the exam. I got to the point that I first downloaded the errata, went to the book and made the corrections by hand, then went back to studying. It was much easier after I did this

Good luck in your studies
 
Raj Menon
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Michael,

I also have done the same thing you did.
Made all corrections in the book from errata before i started reading the book.But as i already mentioned i missed that particular point.

Thanks for your wishes,
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rajesh, I did the same thing. I made the corrections about the time I got to security.

Good luck going forward
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic