This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
wood burning stoves
 
subject: Filters Again...??
 
Similar Threads
how to bypass j2ee security roles
Webapp-Security chapter revision notes from HFSJ , may be useful
Declerative security ?
Declerative Security?
"STRUTS-like action"