Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Filters

Reply
Thread Tools

Filters

 
 
vijaya
Guest
Posts: n/a
 
      04-24-2007
Hai all!
I hav one doubt regarding filters.
How to restrict webpages for different users using response Filters in
java?

Thanks in advance.
Vijaya

 
Reply With Quote
 
 
 
 
Kai Schwebke
Guest
Posts: n/a
 
      04-24-2007
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
 
Reply With Quote
 
 
 
 
Tarkin
Guest
Posts: n/a
 
      04-25-2007
On Apr 24, 8:35 am, vijaya <(E-Mail Removed)> wrote:
> Hai all!
> I hav one doubt regarding filters.
> How to restrict webpages for different users using response Filters in
> java?
>
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Stacked polariser filters instead of ND filters? peter Digital Photography 5 12-13-2010 10:25 PM
using the Filters DLL (image filters) Dieter Vanderelst Python 1 02-15-2006 09:56 AM
Canon: EF filters = EF-S filters? [blu|shark] Digital Photography 17 01-28-2004 10:04 AM
Adaptive Junk filters Scott McCarthy Firefox 3 10-17-2003 02:14 PM
Mozilla for Mac and filters lugg Firefox 2 08-08-2003 03:52 AM



Advertisments