aspose file tools*
The moose likes Servlets and the fly likes Filters Again...?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filters Again...??" Watch "Filters Again...??" New topic
Author

Filters Again...??

Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi all,
Want to discuss about Filters yet again, gone thru resources, but was unable to understand properly..
What I want to accomplish is...
1. A user is assigned some roles.
2. A login servlet is called on login.
3. It checks for the user & its role
4. According to the role assigned, they can view only specific resources.
5. If the user does not exists, they are taken back to the login form.
The user information & role is stored in mysql database.
How could I possibly do this, is filter the best way to it..How..???
TIA
MB


Malhar Barai
SOA & Java Book
Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
Hi all,
How abt some answers on my query too...as I am really stuck at this juncture..
TIA
MB
 
Consider Paul's rocket mass heater.
 
subject: Filters Again...??