• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

http-method

 
Ranch Hand
Posts: 123
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the deployment descriptor a deployer can define resource/method constraints, more so if no <http-method> tag is specified, does that mean; 1) all methods WILL have access or 2) all methods WILL NOT have access to the defined resource?
 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

1)If no <http-method> is specified means all are contrained i.e no HTTP method allowed by any user .

2) If <http-method> is specified then only those which are specified are contrained others which are not specified they are not constrained.

3)If there is no <auth-contstraint> that means all are allowed , its equal to <auth-contstraint>*</auth-contstraint>

4)If there is empty <auth-contstraint> then no1 is allowed .

5)If some role is specified in <auth-constraint> then that role is only allowed to make constarined request on constarined resourse .

I hope , it will help you in digesting.

Thanks
Vishal Chugh
 
Justin Rundle
Ranch Hand
Posts: 123
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Vishal
reply
    Bookmark Topic Watch Topic
  • New Topic