接口 UserSessionRegistry

    • 方法详细资料

      • getSessionIds

        Set<StringgetSessionIds​(String userName)
        已过时。
        Return the active session ids for the user. The returned set is a snapshot that will never be modified.
        参数:
        userName - the user to look up
        返回:
        a set with 0 or more session ids, never null.
      • registerSessionId

        void registerSessionId​(String userName,
                               String sessionId)
        已过时。
        Register an active session id for a user.
        参数:
        userName - the user name
        sessionId - the session id
      • unregisterSessionId

        void unregisterSessionId​(String userName,
                                 String sessionId)
        已过时。
        Unregister an active session id for a user.
        参数:
        userName - the user name
        sessionId - the session id