java - Wicket AuthenticatedWebApplication do not allow to be Signed In from different accounts on the same computer -
i using wicket authenticated application , , testing reasons , logged in on application 2 different accounts in same time . though trying on different browsers , using incognito mode , not work . when trying sign in second user automatically log me first account had logged in.
my authenticate
method class extends authenticatedwebsession
looks :
@override public boolean authenticate(string username, string password) { user loginuser = userdao.getuser(username, hashpassword.hash(password)); if(loginuser != null) { this.user=loginuser; return true; } return false; }
check happens @ iauthenticationstrategy#load()
[1]. wicket applies "rememberme" functionality. don't see how cookie still there in incognito mode or different browser.
Comments
Post a Comment