Class SecureSessionModelImpl

    • Method Detail

      • terminateSession

        public void terminateSession​(@NotNull
                                     javax.servlet.http.HttpServletRequest request)
        Specified by:
        terminateSession in interface SessionModel
      • terminateSessionsByUserId

        public boolean terminateSessionsByUserId​(long userId)
        Description copied from interface: SessionModel
        Terminates all sessions of a given user. Other server nodes are notified via multi-node event.
        Specified by:
        terminateSessionsByUserId in interface SessionModel
        Returns:
        true, if termination functionality is enabled, false otherwise.
      • terminateSessionsOfCurrentUser

        public void terminateSessionsOfCurrentUser​(@NotNull
                                                   javax.servlet.http.HttpServletRequest request,
                                                   boolean includingSessionInRequest)
        Specified by:
        terminateSessionsOfCurrentUser in interface SessionModel
      • terminateAllSessions

        public void terminateAllSessions​(@NotNull
                                         javax.servlet.http.HttpServletRequest request,
                                         boolean includingSessionInRequest)
        Specified by:
        terminateAllSessions in interface SessionModel
      • bindUserToSession

        public void bindUserToSession​(@NotNull
                                      SUser user,
                                      @NotNull
                                      javax.servlet.http.HttpServletRequest request)
        Specified by:
        bindUserToSession in interface SessionModel
      • onSessionDestroyed

        public void onSessionDestroyed​(@NotNull
                                       javax.servlet.http.HttpSession session)
        Specified by:
        onSessionDestroyed in interface SessionModel