Jirka created WICKET-5845:
-----------------------------

             Summary: 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: 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)

Reply via email to