Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto, On 9/18/2009 7:42 AM, atroiano wrote: > But seems to me that the old session non more exists at this point of the > request flow. Is this true? Correct: by the time you can detect a new session, the old session is totally gone. - -chris ---

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-18 Thread atroiano
Thanks to Mark and Chris for all suggestions. I thing that a will follow th Chris suggestion to re-architect my session. I was attracted by this piece of code in Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem lynckmeister Wed, 11 Feb 2009 06:32:43 -0800 public class

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/17/2009 4:56 AM, Mark Thomas wrote: > atroiano wrote: >> >> Is it possible? > > The way you describe? No. +1 > If you want this then you have a couple of options: > a) Do what Chris said and pass state back and forth in the request/respo

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread Mark Thomas
atroiano wrote: > > Christopher Schultz-2 wrote: >> >> This is a question that you will have to answer: what information is >> absolutely necessary for you to resume a user interaction in-progress? >> Whatever that is, you'll need to include that information in every >> single link that a user can

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-17 Thread atroiano
. Is it possible? Alberto -- View this message in context: http://www.nabble.com/Re%3A-Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp25479941p25487080.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alberto, Please post to the list, rather than writing to me directly. On 9/16/2009 1:19 PM, atroi...@infomedica.it wrote: > i' am lookng for a way to resume Tomcat timed-out sessions after a re-logon. > > So i found this interesting thread where you

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 2/11/2009 12:13 PM, Gregor Schneider wrote: > I very well know this, however, SecurityFilter for me (or our specific > situation here) has a showstopper since it does not support Tomcat's > SingleSignOn-feature, if I'm not mistaken. > If I

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
Chris, On Wed, Feb 11, 2009 at 5:52 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Note that securityfilter implements the feature you describe, though it > is separate from Tomcat's container-managed authentication and > authorization. It is also implemented

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 2/11/2009 10:17 AM, Gregor Schneider wrote: > I'll be on the Hackation during the ApacheConEurope in March and will > provide a small piece of code there, whis is basically a LoginValve > doing the following: > > - You can customize the ur

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 2/11/2009 10:40 AM, lynckmeister wrote: > SessionScope.get(String, ObjectFactory) line: 90 > DefaultListableBeanFactory(AbstractBeanFactory).doGetBean(String, Class, > Object[], boolean) line: 298 > DefaultListableBeanFactory(AbstractBeanF

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
On Wed, Feb 11, 2009 at 4:43 PM, lynckmeister wrote: > > Hi Gregor, > > I didnt get it. Your writing a peace of code wich lets me custmize the url > or page wich is called if a sessiontimeout occurs? > Nope. What the Valve does, ist the following: If a session times out, usually nothing is happe

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
--- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21957617.html Sent from the Tomcat - User

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21957555.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsub

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, On 2/11/2009 9:32 AM, lynckmeister wrote: >> Exactly where? > > Im writing this in a Sigelton bean wich is initialized via spring with the > postconstruct > paramenter. it seems that this is to late, what do you suggest ? maybe a > special fi

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
To the OP: If you can hold it for a while: I'll be on the Hackation during the ApacheConEurope in March and will provide a small piece of code there, whis is basically a LoginValve doing the following: - You can customize the url Tomcat shall call if authentication times out - Since a valve can

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread lynckmeister
iumkunde superuser guest premiumGuest admin thank again for reading all the stuff chris , cheers filip -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21956226.htm

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Please keep all discussions on the list. On 2/11/2009 8:08 AM, lync...@gmx.de wrote: > First, I did what you suggested and set a Key value pair in the > session map. in the login phase im trying to read this value to see > if the user is comin

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lynckmeister, On 2/10/2009 12:34 PM, lynckmeister wrote: > i have the problem that if my session timeouts i 've been redirected to the > loginpage ( from the secured area). If i relogin in i get some null-pointer > exceptions in my application ( first

Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-10 Thread lynckmeister
this behave, fe that the realm just leds me to the login page and nothing more ? thanks a lot for help !! Filip -- View this message in context: http://www.nabble.com/Tomcat-Realm-Auto-Relogin-after-Session-Timeout-Problem-tp21938671p21938671.html Sent from the Tomcat - User mailing list archi