Automatic login after registration on the Tomcat

2004-04-14 Thread rlipi
Hello, I have interesting problem with an authentication. I use a JDBCRealm. I have a protected area. When a user comes to the protected area, server redirects the user to the login page. If the user knows his user name and password, he writes it and submits login form. If the user does

RE: automatic login

2002-05-14 Thread Collins, Jim
Hi Craig, Could you please send the URL for the UML diagrams, I could not find them. Thanks. Jim. -Original Message- From: Mats Nyberg [mailto:[EMAIL PROTECTED]] Sent: 10 May 2002 20:42 To: Tomcat Users List Subject: Re: automatic login Craig R. McClanahan wrote

Re: automatic login

2002-05-14 Thread Java Team
Hi Use the following Webster.www.ambysoft.com Regards Velmurgan P. - Original Message - From: Collins, Jim [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 14, 2002 2:03 PM Subject: RE: automatic login Hi Craig, Could you please send the URL

Re: automatic login

2002-05-13 Thread Vincenzo Marchese
Mats Nyberg wrote: Craig R. McClanahan wrote: On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 20:00:51 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: automatic login locking

Re: automatic login

2002-05-13 Thread Mats Nyberg
Vincenzo Marchese wrote: by the way, vincenzo: your idea worked - will write HOWTO for the list No doubt Mats ;) we use it in a production site :) The only potential flaw is that if you look in your browser's cache you may find the authentication form filled with username and

automatic login

2002-05-10 Thread Mats Nyberg
friends, cohorts; have an application involving user registration and declarative authorization. in the end of an user registration i want the newly created user also to be logged in without providing a now you can use your new id and password to log in-screen. HOWTO? i vanely thought

Re: automatic login

2002-05-10 Thread Vincenzo Marchese
Have you tried redirecting with an automatic post to your protected location with some javascript like: document.forms[authform].submit(); obviously after filling the form with the code you wrote down below. You can control in form-login page if you come from a registration procedure and

Re: automatic login

2002-05-10 Thread Mats Nyberg
thanks for your reply vincenzo, the problem is however not to get the form sent but rather to get tomcat/the auth.interceptor to bite. to this sollution i get a 404 /j_security_check not found after another moment of contemplation... perhapps you mean that 1. in unprotected page set

Re: automatic login

2002-05-10 Thread Vincenzo Marchese
Mats Nyberg wrote: thanks for your reply vincenzo, the problem is however not to get the form sent but rather to get tomcat/the auth.interceptor to bite. to this sollution i get a 404 /j_security_check not found after another moment of contemplation... perhapps you mean that 1. in

Re: automatic login

2002-05-10 Thread Craig R. McClanahan
On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 12:03:07 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: automatic login friends, cohorts; have an application involving user registration

Re: automatic login

2002-05-10 Thread Mats Nyberg
wrote: On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 12:03:07 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: automatic login friends, cohorts; have an application involving user registration and declarative

Re: automatic login

2002-05-10 Thread Craig R. McClanahan
On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 20:00:51 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: automatic login locking myself in is no problem; this is an app running

Re: automatic login

2002-05-10 Thread Mats Nyberg
Craig R. McClanahan wrote: On Fri, 10 May 2002, Mats Nyberg wrote: Date: Fri, 10 May 2002 20:00:51 +0200 From: Mats Nyberg [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: automatic login locking myself in is no problem