You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by gi...@apache.org on 2016/01/21 13:35:13 UTC

[3/3] syncope git commit: [SYNCOPE-719] Fixing session cache problem during creation of a new session

[SYNCOPE-719] Fixing session cache problem during creation of a new session


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/e4373b32
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/e4373b32
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/e4373b32

Branch: refs/heads/master
Commit: e4373b321d9dc9072d8ee7f53e6d506d2f350589
Parents: 5d35181
Author: giacomolm <gi...@hotmail.it>
Authored: Thu Jan 21 13:02:26 2016 +0100
Committer: giacomolm <gi...@hotmail.it>
Committed: Thu Jan 21 13:02:26 2016 +0100

----------------------------------------------------------------------
 .../org/apache/syncope/client/enduser/SyncopeEnduserSession.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/e4373b32/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java
----------------------------------------------------------------------
diff --git a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java
index 89b566b..5fa24b9 100644
--- a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java
+++ b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java
@@ -100,6 +100,8 @@ public class SyncopeEnduserSession extends WebSession {
             // for every  request
             this.bind();
             authenticated = true;
+            //we should clear all the previous services
+            services.clear();
         } catch (Exception e) {
             LOG.error("Authentication failed", e);
         }