Hi,
This is not hard to do with a Filter, as long as your authentication is
done before this Filter (possibly with another one).  Your chain would
then look like:
- Authentication filter (mapped to /*, does nothing if request already
authenticated)
- Rewrite filter (mapped to /*, checks credentials, does redirect if
needed)
- Normal servlets

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: A [mailto:[EMAIL PROTECTED]
>Sent: Saturday, August 21, 2004 4:27 PM
>To: Tomcat Users List
>Subject: URL Rewriting on a uer by user basis
>
>Developers,
>
>Something ha sbeen keeping me up all day and i ve been
>bogged down without any hope of finding a fix.
>
>What i would like to do is quite simple but i have
>found nothing that helps.
>
>I have a server which has authentication.  I want to
>map the url requested to a predefined URL
>
>say i access
>
>www.myHost.com
>uName==paul  passwd==paul
>
>i want to map this to
>
>www.myHost.com/paul
>
>Can anyone help me - its driving me mad.
>
>
>
>
>
>
>_______________________________
>Do you Yahoo!?
>Win 1 of 4,000 free domain names from Yahoo! Enter now.
>http://promotions.yahoo.com/goldrush
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to