Class DefaultLogoutHandler<C extends WebContext>

    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Constructor Detail

      • DefaultLogoutHandler

        public DefaultLogoutHandler()
      • DefaultLogoutHandler

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

      • recordSession

        public void recordSession​(C context,
                                  String key)
        Description copied from interface: LogoutHandler
        Associates a key with the current web session.
        Specified by:
        recordSession in interface LogoutHandler<C extends WebContext>
        Parameters:
        context - the web context
        key - the key
      • destroySessionFront

        public void destroySessionFront​(C context,
                                        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<C extends WebContext>
        Parameters:
        context - the web context
        key - the key
      • destroySessionBack

        public void destroySessionBack​(C context,
                                       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<C extends WebContext>
        Parameters:
        context - the web context
        key - the key
      • renewSession

        public void renewSession​(String oldSessionId,
                                 C context)
        Description copied from interface: LogoutHandler
        Renew the web session.
        Specified by:
        renewSession in interface LogoutHandler<C extends WebContext>
        Parameters:
        oldSessionId - the old session identifier
        context - the web context
      • isDestroySession

        public boolean isDestroySession()
      • setDestroySession

        public void setDestroySession​(boolean destroySession)