This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Servlets and the fly likes filter for access control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "filter for access control" Watch "filter for access control" New topic
Author

filter for access control

karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi all
i thought of writing a ServletFilter to control access to the webapp.
can i do this with servlet filters ?
it should check for the presence of a valid user object in the session that belongs to the request and just let passs if this user object is there or forwards to the logon page if not there.
thanks
k
 
 
subject: filter for access control