Class DefaultLogoutHandler

    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Constructor Detail

      • DefaultLogoutHandler

        public DefaultLogoutHandler()
      • DefaultLogoutHandler

        public DefaultLogoutHandler​(Store<java.lang.String,​java.lang.Object> store)
    • Method Detail

      • recordSession

        public void recordSession​(WebContext context,
                                  SessionStore sessionStore,
                                  java.lang.String key)
        Description copied from interface: LogoutHandler
        Associates a key with the current web session.
        Specified by:
        recordSession in interface LogoutHandler
        Parameters:
        context - the web context
        sessionStore - the session store
        key - the key
      • destroySessionFront

        public void destroySessionFront​(WebContext context,
                                        SessionStore sessionStore,
                                        java.lang.String key)
        Description copied from interface: LogoutHandler
        Destroys the current web session for the given key for a front channel logout.
        Specified by:
        destroySessionFront in interface LogoutHandler
        Parameters:
        context - the web context
        sessionStore - the session store
        key - the key
      • destroy

        protected void destroy​(WebContext context,
                               SessionStore sessionStore,
                               java.lang.String channel)
      • destroySessionBack

        public void destroySessionBack​(WebContext context,
                                       SessionStore sessionStore,
                                       java.lang.String key)
        Description copied from interface: LogoutHandler
        Destroys the current web session for the given key for a back channel logout.
        Specified by:
        destroySessionBack in interface LogoutHandler
        Parameters:
        context - the web context
        sessionStore - the session store
        key - the key
      • renewSession

        public void renewSession​(java.lang.String oldSessionId,
                                 WebContext context,
                                 SessionStore sessionStore)
        Description copied from interface: LogoutHandler
        Renew the web session.
        Specified by:
        renewSession in interface LogoutHandler
        Parameters:
        oldSessionId - the old session identifier
        context - the web context
        sessionStore - the session store
      • getStore

        public Store<java.lang.String,​java.lang.Object> getStore()
      • setStore

        public void setStore​(Store<java.lang.String,​java.lang.Object> store)
      • isDestroySession

        public boolean isDestroySession()
      • setDestroySession

        public void setDestroySession​(boolean destroySession)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object