Re: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Tim Funk
- Move the image to another context? - absolute URL the image to another place? - define many - this could be done easily via slurping your access log and using perl -Tim Rick Roberts wrote: Ahhh! Thanks. That makes complete sense. I believe that is the correct thing to do. Now I need to fig

Re: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Tim Funk
The spec says the action for logging in is j_security_check with parameters j_username and j_password. There are no parameters to say what the request/resource caused the security check. So without extending the spec with custom (non-portable) functionality, the last request seems to be chosen.

RE: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Mike Curwen
nds. Why would they implement it thusly ? > -Original Message- > From: Tim Funk [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2003 10:53 AM > To: Tomcat Users List > Subject: Re: JDBCRealm - Login redirects to my image instead > > > (Guessing) > Put the image

RE: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Mike Curwen
> Sent: Monday, July 14, 2003 10:53 AM > To: Tomcat Users List > Subject: Re: JDBCRealm - Login redirects to my image instead > > > (Guessing) > Put the image in an unprotected area. Since the image was the > most recent > request under a secutiry contraint, you are be

Re: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Rick Roberts
Ahhh! Thanks. That makes complete sense. I believe that is the correct thing to do. Now I need to figure out a way to *easily* re-arrange my directories to handle *un-protected* and *protected* areas. I currently have everything protected. Protected Area /* This is

Re: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Tim Funk
(Guessing) Put the image in an unprotected area. Since the image was the most recent request under a secutiry contraint, you are being redirected to that request on successfull login. -Tim Rick Roberts wrote: I have JDBCRealm and Form Based AUTH. I have an image in my login.jsp file. Like this

Re: JDBCRealm - Login redirects to my image instead

2003-07-14 Thread Rick Roberts
I have JDBCRealm and Form Based AUTH. I have an image in my login.jsp file. Like this: When I navigate to myApp/index.jsp, I get redirected to my login.jsp file (just as I should). But, when I login, I get redirected to the image referenced in login.jsp, instead of to index.jsp. It kinda makes