[ 
https://issues.apache.org/jira/browse/WICKET-5845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-5845.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 7.0.0-M6
                   6.20.0
         Assignee: Martin Grigorov

Reverted the change made with WICKET-5775.
It caused several issues so far.

> 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
>            Assignee: Martin Grigorov
>             Fix For: 6.20.0, 7.0.0-M6
>
>
> 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)

Reply via email to