You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2015/03/10 19:51:38 UTC
[jira] [Updated] (WICKET-5845) AuthenticatedWebSession.get()
returns a new session with signedIn false
[ https://issues.apache.org/jira/browse/WICKET-5845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene updated WICKET-5845:
------------------------------------
Affects Version/s: 7.0.0-M5
> AuthenticatedWebSession.get() returns a new session with signedIn false
> -----------------------------------------------------------------------
>
> Key: WICKET-5845
> URL: https://issues.apache.org/jira/browse/WICKET-5845
> Project: Wicket
> Issue Type: Bug
> Components: wicket-auth-roles
> Affects Versions: 7.0.0-M5, 6.19.0
> Environment: java version "1.7.0_75", Windows 7
> Reporter: Jirka
>
> A change from Wicket 6.18.0 to Wicket 6.19.0 causes that after a successful authentication {{AuthenticatedWebSession.get()}} returns a new session with the {{signedIn}} variable set to {{false}} although during the authentication the original session sets {{signedIn}} to {{true}}.
> Wicket 6.18.0
> {{org.apache.wicket.authroles.authentication.AuthenticatedWebSession}}
> {code}
> public final boolean signIn(final String username, final String password)
> {
> signedIn = authenticate(username, password);
> if (signedIn)
> {
> bind();
> }
> return signedIn;
> }
> {code}
> Wickey 6.19.0
> {code}
> public final boolean signIn(final String username, final String password)
> {
> signedIn = authenticate(username, password);
> if (signedIn)
> {
> replaceSession();
> }
> return signedIn;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)