Auto-login

2005-05-03 Thread Bedin, Stephane \(GE Healthcare\)
Hello, I do not find if there is a way to auto-login in a protected directory by a simple URL like: http://host:8080/myapp/?user=toto&password=titi My issue is that a user who is authentificated under webmin (...) shall access to anoter module (written under tomcat) without been asked again

Auto login using a cookie

2003-06-03 Thread Wijngaarde [Us Media]
Hi, I was wondering if there is a standard way of creating automatic login functionality in tomcat. What I mean is that a user can set a tik a box saying 'Automatically Log me in the next time I visit'. This is a common functionality on low security sites and improves user experience a lot. We

Re: Auto login using a cookie

2003-06-03 Thread Tim Funk
I think you'd need to use a valve instead of a filter. The filters are invoked after any security check is done (i believe). As a starting reference, look at the SingleSignOn valve. -Tim Joël Wijngaarde [Us Media] wrote: Hi, I was wondering if there is a standard way of creating automatic logi

Re: Auto login using a cookie

2003-06-03 Thread Wijngaarde [Us Media]
'standard' way of using an auto login feature without breaking the Container independence. - Joel On Tue, 2003-06-03 at 13:38, Tim Funk wrote: > I think you'd need to use a valve instead of a filter. The filters are > invoked after any security check is done (i believe

Re: Auto login using a cookie

2003-06-03 Thread Tim Funk
Since you are Using JDBCRealm, you are already somewhat tomcat dependent. Even though switching realms is very easy. But the code to do the auto login needs to occur BEFORE the JDBCRealm code is excuted. That is the problem. Thats the bad news, you tomcat specific code should be easy to port to

RE: Auto login using a cookie

2003-06-04 Thread Raible, Matt
I have a way that's been working for me - see it at: http://raibledesigns.com/training/index.jsp?topic=rememberMe HTH, Matt -Original Message- From: Joël "Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:14 AM To: Tomcat Users List Subject: Re:

Re: Auto login using a cookie

2003-06-04 Thread Bill Barker
at's been working for me - see it at: http://raibledesigns.com/training/index.jsp?topic=rememberMe HTH, Matt -Original Message- From: Joël "Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:14 AM To: Tomcat Users List Subject: Re: Auto login using a

Auto Login Using Form Based Authentication

2003-06-10 Thread Val T.
Hi, I have an atypical situation in that I am trying to auto login users from another system (a Lotus Domino system) when they connect to my JSP application. I am using Tomcat 4.1.18 and have form based authentication working on it. I would prefer if the users did not have to explicitly login

RE: Auto Login Using Form Based Authentication

2003-06-10 Thread Raible, Matt
y, June 10, 2003 12:46 PM To: Tomcat Users List Subject: Auto Login Using Form Based Authentication Hi, I have an atypical situation in that I am trying to auto login users from another system (a Lotus Domino system) when they connect to my JSP application. I am using Tomcat 4.1.18 and have

Re: Auto Login Using Form Based Authentication

2003-06-10 Thread Bill Barker
--Original Message- > From: Val T. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 12:46 PM > To: Tomcat Users List > Subject: Auto Login Using Form Based Authentication > > > Hi, > > I have an atypical situation in that I am trying to auto login users from >

RE: Auto Login Using Form Based Authentication

2003-06-11 Thread Raible, Matt
> 1) Your Filter will not get called, since authentication happens before > Filters (you'd need to use a Valve, but then you are locked into Tomcat). In my experience, and my current working app, this is not the case. The following code works for me in a filter (mapped to /*) to a

Re: Auto Login Using Form Based Authentication

2003-06-11 Thread vtobin
Hi Bill and Matt, > There are two problems with this: > 1) Your Filter will not get called, since authentication happens before > Filters (you'd need to use a Valve, but then you are locked into > Tomcat). 2) Unless you are using Tomcat 5.x nightly, Request > attibutes won't be available to the

Re: Auto Login Using Form Based Authentication

2003-06-11 Thread John Turner
"mod_jk" is "strictly" for Apache, since the "mod" typically means "Apache module". But JK (AJP13) is a protocol. It can be implemented however you like. There are JK connectors for Apache and IIS, for example. John On Wed, 11 Jun 2003 10:53:37 -0400, vtobin <[EMAIL PROTECTED]> wrote: Hi Bi

Re: Auto Login Using Form Based Authentication

2003-06-11 Thread Bill Barker
I was using "mod_jk" as a short-hand for the entire server-suite. There is a Domino connector, but I don't believe that there is a binary for it. You can get the source and compile it from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.4 /src/. Documentation is at htt