Re: AW: set session-timeout

2013-10-24 Thread Paul Borș
Right, you would have to do it on the Log In page during authentication as Martijn suggested. We have a global Settings page where we let admins configure this duration in minutes and we enable it via our Log In page. To do it for unauthorized users it won't really make sense. Why would you

Re: AW: set session-timeout

2013-10-23 Thread Martijn Dashorst
AFAIK you can specify the session timeout in your web.xml or in your container. I don't see why Wicket should get involved in that, other than change the session timeout for logged in users (i.e. after they successfully authenticated with your application), or special users (administrators with

Re: AW: set session-timeout

2013-10-23 Thread Martin Grigorov
On Wed, Oct 23, 2013 at 12:35 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: AFAIK you can specify the session timeout in your web.xml or in your container. I don't see why Wicket should get involved in that, other than change the session timeout for logged in users (i.e. after they

AW: set session-timeout

2013-10-22 Thread Christoph.Manig
If I do this in my WicketApplication class, in the init() method I get java.lang.reflect.UndeclaredThrowableException. But if I add this to my base page it works. Is there any possibility to do this in the WicketApplication class? Mit freundlichen Grüßen Christoph Manig Systems Engineer

Re: AW: set session-timeout

2013-10-22 Thread Joachim Schrod
On 10/22/13 10:34, christoph.ma...@t-systems.com wrote: If I do this in my WicketApplication class, in the init() method I get java.lang.reflect.UndeclaredThrowableException. But if I add this to my base page it works. Is there any possibility to do this in the WicketApplication class? You

Re: AW: set session-timeout

2013-10-22 Thread Martin Grigorov
On Tue, Oct 22, 2013 at 4:27 PM, Joachim Schrod jsch...@acm.org wrote: On 10/22/13 10:34, christoph.ma...@t-systems.com wrote: If I do this in my WicketApplication class, in the init() method I get java.lang.reflect.UndeclaredThrowableException. But if I add this to my base page it works.

Re: AW: set session-timeout

2013-10-22 Thread Joachim Schrod
On 10/22/13 15:32, Martin Grigorov wrote: On Tue, Oct 22, 2013 at 4:27 PM, Joachim Schrod jsch...@acm.org wrote: On 10/22/13 10:34, christoph.ma...@t-systems.com wrote: If I do this in my WicketApplication class, in the init() method I get java.lang.reflect.UndeclaredThrowableException.

Re: AW: set session-timeout

2013-10-22 Thread Martin Grigorov
On Wed, Oct 23, 2013 at 2:36 AM, Joachim Schrod jsch...@acm.org wrote: On 10/22/13 15:32, Martin Grigorov wrote: On Tue, Oct 22, 2013 at 4:27 PM, Joachim Schrod jsch...@acm.org wrote: On 10/22/13 10:34, christoph.ma...@t-systems.com wrote: If I do this in my WicketApplication class, in