2 Replies Latest reply on Jan 30, 2008 8:36 AM by coreyyiap

    Need help with SSO user cache issue

       

      I am impletmenting SSO with my jive forums v5.5.10.  Everything works except for when a user logout.  The system redirect to the logout-success.jsp and the user name is switched to "guest" but when a user click on the forum home link it function as if the had never logout.  I think I need to implement the code below to clear it from the cache, but can someone tell me where I need to put it and how and when I should call it?

       

       

                  // Assumes a previously defined user and userID

                  // Expire user caches.

                  UserManagerFactory.userCache.remove(new Long(userID));

                  UserManagerFactory.userIDCache.remove(user.getUsername());

                  if (user.getEmail() != null) {

                      userEmailCache.remove(user.getEmail().trim().toLowerCase());

                  }

       

       

       

       

       

      Thanks