Repository: wicket Updated Branches: refs/heads/WICKET-6242-authenticate-once a384c6f75 -> d5425534a
WICKET-6242 Weak concurrency management in AuthenticatedWebSession#signedIn Unset signedIn to 'false' only if the authenticated has failed. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d5425534 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d5425534 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d5425534 Branch: refs/heads/WICKET-6242-authenticate-once Commit: d5425534a568d0cc0d4c6749a8965af69f107b8e Parents: a384c6f Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Authored: Sat Sep 10 13:24:00 2016 +0200 Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org> Committed: Sat Sep 10 13:24:00 2016 +0200 ---------------------------------------------------------------------- .../authroles/authentication/AuthenticatedWebSession.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/d5425534/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java ---------------------------------------------------------------------- diff --git a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java b/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java index c8058f5..f0b450c 100644 --- a/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java +++ b/wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java @@ -70,7 +70,10 @@ public abstract class AuthenticatedWebSession extends AbstractAuthenticatedWebSe { bind(); } - signedIn.set(authenticated); + else + { + signedIn.set(false); + } } return signedIn.get(); }