Changing JSecurity's session timeout

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing JSecurity's session timeout

pledbrook
Hi,

What's the recommended way of changing the session timeout when using
the "jsecurity" session mode? Can it be done after all the beans have
been instantiated (secMgr.sessionMgr.sessionTimeout = ...)? Or should
the SessionManager bean be manually configured and injected into the
security manager?

Thanks,

Peter
Reply | Threaded
Open this post in threaded view
|

RE: Changing JSecurity's session timeout

tkofford
I would really like to see the session timeout be a configuration
parameter, similar to how tomcat specifies session timeout. For example,
in [Tomcat_home]/conf/web.xml:

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

Just my 2 cents,

Todd Kofford
[hidden email]
University of Kansas - IT


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of
Peter Ledbrook
Sent: Sunday, November 16, 2008 3:33 AM
To: [hidden email]
Subject: Changing JSecurity's session timeout

Hi,

What's the recommended way of changing the session timeout when using
the "jsecurity" session mode? Can it be done after all the beans have
been instantiated (secMgr.sessionMgr.sessionTimeout = ...)? Or should
the SessionManager bean be manually configured and injected into the
security manager?

Thanks,

Peter