This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes where and how to specify access specification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "where and how to specify access specification" Watch "where and how to specify access specification" New topic
Author

where and how to specify access specification

krishna rj
Greenhorn

Joined: Dec 01, 2005
Posts: 1
hai
my doubt is where should we specify access specification and how
actually there will be one person who can have access to some area only
and other person can access to some other area.
for this i think, i need to specify access specification at deployment discriptor using getCallerPrincipal() or is CallerInrole() from context interface if it is for servlets.
is it correct or is there any other mean to do this
And one more thing if i want to specify access to 100 members. shell i can do it in DD itself for all 100 members or any other mean is there.
 
Consider Paul's rocket mass heater.
 
subject: where and how to specify access specification