Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Filters

Thread view: 
vijaya - 24 Apr 2007 13:35 GMT
Hai all!
I hav one doubt regarding filters.
How to restrict webpages for different users using response Filters in
java?

Thanks in advance.
Vijaya
Kai Schwebke - 24 Apr 2007 17:10 GMT
vijaya schrieb:
> Hai all!
> I hav one doubt regarding filters.
> How to restrict webpages for different users using response Filters in
> java?

Write a dummy filter routing request/response unchanged -- every
tutorial on filters will explain how to do this.
Then alter this filter in a way redirecting to a "sorry, not authorized"
page for some users -- based on wathever means you like (session,
IP-addr., ...).

Kai
Tarkin - 25 Apr 2007 15:14 GMT
> Hai all!
> I hav one doubt regarding filters.
[quoted text clipped - 3 lines]
> Thanks in advance.
> Vijaya

One filter for each collection of pages you want restricted.
Separate pages by directory, and map filters to directories.
Simple, and more than apparent from the API and
specification docs.

HTH,
  Tarkin


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.