Re: How to prevent direct access to login.jsp

2003-12-09 Thread Rodrigo Ruiz
I think there is another option that noone has mentioned yet :-P When the login.jsp page is presented as part of the login process, there will be some standard request attributes containing the original requested page (I don't remember the names now, but you can find them in the servlet spec).

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
09, 2003 5:10 AM To: Tomcat Users List Subject: Re: How to prevent direct access to login.jsp On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
Thanks. > > Tom > > - Original Message - > From: "Chaikin, Yaakov Y (US SSA)" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, December 08, 2003 5:59 PM > Subject: How to prevent direct access to login.jsp

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Tom Holmes Jr.
don't get many users for it to be an issue, and I bumped up the memory on that web-server anyway. Hope this helps. Thanks. Tom - Original Message - From: "Chaikin, Yaakov Y (US SSA)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Chaikin, Yaakov Y (US SSA)
gt; Subject: Re: How to prevent direct access to login.jsp > > On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: > > I realized that my user can mess himself by bookmarking the login page > > he is asked to log in. The login.jsp appears in the URL address in the > > bro

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Ben Souther
: <[EMAIL PROTECTED]> > Sent: Monday, December 08, 2003 10:59 PM > Subject: How to prevent direct access to login.jsp > > > Hi, > > I realized that my user can mess himself by bookmarking the login page > he is asked to log in. The login.jsp appears in the URL address in

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Andoni
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 08, 2003 10:59 PM Subject: How to prevent direct access to login.jsp Hi, I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does an

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Jon Wingfield
Tomcat 4.0.x, 4.1.x does a redirect to the login page specified in the web.xml Tomcat 5 does a forward so the login page url never reaches the browser. There are a number of workarounds/hacks in the archives for tc4. eg the thread "j_security_check - Bookmarking the login page. A teaser!" Jon Ja

RE: How to prevent direct access to login.jsp

2003-12-09 Thread Jacob Kjome
At 01:54 AM 12/9/2003 -0500, you wrote: > Put the file in something like WEB-INF/jsp/login.jsp. Then either > configure form-based authentication for the path to that JSP I tried doing that, but when I specified /WEB-INF/jsp/login.html in FORM /WEB-INF/jsp /login.

RE: How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
> Put the file in something like WEB-INF/jsp/login.jsp. Then either > configure form-based authentication for the path to that JSP I tried doing that, but when I specified /WEB-INF/jsp/login.html in FORM /WEB-INF/jsp /login.html /WEB-INF/jsp /lo

Re: How to prevent direct access to login.jsp

2003-12-08 Thread Jacob Kjome
Put the file in something like WEB-INF/jsp/login.jsp. Then either configure form-based authentication for the path to that JSP or have your MVC framework serve up that JSP page upon access to a protected resource. The "back" button will never know the exact location of the page. Jake At 05:5

How to prevent direct access to login.jsp

2003-12-08 Thread Chaikin, Yaakov Y (US SSA)
Hi, I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the server? Thanks. Yaakov Chaikin Software Engineer