Re: rememberMe not working in 6.19
Great! So I assume that will be available in 6.20? Is there an ETA for that? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/rememberMe-not-working-in-6-19-tp4670527p4670533.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: rememberMe not working in 6.19
On Apr 28, 2015 4:54 PM, vp143 vishal.po...@cipriati.co.uk wrote: Great! So I assume that will be available in 6.20? Yes Is there an ETA for that? Should be soon. It's been a while since 6.19 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/rememberMe-not-working-in-6-19-tp4670527p4670533.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
rememberMe not working in 6.19
Hi, I am currently using wicket 6.16 and wanting to upgrade to 6.19. I am using a LoginPanel using the rememberMe feature something like this: IAuthenticationStrategy strategy = getApplication().getSecuritySettings().getAuthenticationStrategy(); if (WiaSession.get().signIn(getUsername(), getPassword())) { if (rememberMe == true) { System.out.println(rememberMe is true, so saving username and password); strategy.save(getUsername(), getPassword()); } else { strategy.remove(); } … When using 6.19 and restarting the server (I am not sure if it happens without restarting i.e. waiting a long time), I have to log in again. This does not happen with 6.16, 6.17 and 6.18, so it is difference in 6.18 and 6.19 i.e. I am already logged in. Does anyone know why this could be? Of course it could be possible that I have custom code that no longer works with 6.19. Any hints would be appreciated! Regards Vishal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: rememberMe not working in 6.19
This is known behavior, hopefully will be fixed in the next version :) On Tue, Apr 28, 2015 at 3:29 PM, Vishal Popat vishal.po...@cipriati.co.uk wrote: Hi, I am currently using wicket 6.16 and wanting to upgrade to 6.19. I am using a LoginPanel using the rememberMe feature something like this: IAuthenticationStrategy strategy = getApplication().getSecuritySettings().getAuthenticationStrategy(); if (WiaSession.get().signIn(getUsername(), getPassword())) { if (rememberMe == true) { System.out.println(rememberMe is true, so saving username and password); strategy.save(getUsername(), getPassword()); } else { strategy.remove(); } … When using 6.19 and restarting the server (I am not sure if it happens without restarting i.e. waiting a long time), I have to log in again. This does not happen with 6.16, 6.17 and 6.18, so it is difference in 6.18 and 6.19 i.e. I am already logged in. Does anyone know why this could be? Of course it could be possible that I have custom code that no longer works with 6.19. Any hints would be appreciated! Regards Vishal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- WBR Maxim aka solomax
Re: rememberMe not working in 6.19
It is fixed already. On Apr 28, 2015 12:32 PM, Maxim Solodovnik solomax...@gmail.com wrote: This is known behavior, hopefully will be fixed in the next version :) On Tue, Apr 28, 2015 at 3:29 PM, Vishal Popat vishal.po...@cipriati.co.uk wrote: Hi, I am currently using wicket 6.16 and wanting to upgrade to 6.19. I am using a LoginPanel using the rememberMe feature something like this: IAuthenticationStrategy strategy = getApplication().getSecuritySettings().getAuthenticationStrategy(); if (WiaSession.get().signIn(getUsername(), getPassword())) { if (rememberMe == true) { System.out.println(rememberMe is true, so saving username and password); strategy.save(getUsername(), getPassword()); } else { strategy.remove(); } … When using 6.19 and restarting the server (I am not sure if it happens without restarting i.e. waiting a long time), I have to log in again. This does not happen with 6.16, 6.17 and 6.18, so it is difference in 6.18 and 6.19 i.e. I am already logged in. Does anyone know why this could be? Of course it could be possible that I have custom code that no longer works with 6.19. Any hints would be appreciated! Regards Vishal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- WBR Maxim aka solomax