You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Coppens <pc...@gmail.com> on 2007/09/03 21:17:06 UTC
Timeout on form authentication
Tomcat fans,
I was wondering whether anyone has found an elegant way (or has pointers to
information on how) to deal with a timeout on the login form (form based
authentication).
Ideally I would want to hide this completely from the user using whatever
coding is needed. If that can't be achieved I am ok by redisplaying the
login page with some kind of "timeout/retry" message.
Many thanks indeed!
Peter
--
View this message in context: http://www.nabble.com/Timeout-on-form-authentication-tf4373678.html#a12466628
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Timeout on form authentication
Posted by Peter Coppens <pc...@gmail.com>.
Thanks for your time/answers.
>> Ideally I would want to hide this completely from the user using whatever
>> coding is needed.
>This would be a custom authenticator. You should be able to use
>org.apache.catalina.authenticator.FormAuthenticator as the basis for this.
Does not look like to be a 4 hour job :(
>> If that can't be achieved I am ok by redisplaying the
>> login page with some kind of "timeout/retry" message.
>A custom 408 error page should do the trick for this.
Could I redirect from within that page to a protected resource and would
Tomcat then restart the authentication procedure? How could I get hold of
the URL for which the original login was started, as that is where I would
want to redirect to.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
--
View this message in context: http://www.nabble.com/Timeout-on-form-authentication-tf4373678.html#a12467483
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Timeout on form authentication
Posted by Mark Thomas <ma...@apache.org>.
Peter Coppens wrote:
I haven't tried any of this...
> Ideally I would want to hide this completely from the user using whatever
> coding is needed.
This would be a custom authenticator. You should be able to use
org.apache.catalina.authenticator.FormAuthenticator as the basis for this.
> If that can't be achieved I am ok by redisplaying the
> login page with some kind of "timeout/retry" message.
A custom 408 error page should do the trick for this.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org