Class StorefrontLogoutSuccessHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.logout.LogoutSuccessHandler

    public class StorefrontLogoutSuccessHandler
    extends org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CLOSE_ACCOUNT_PARAM  
      • Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String determineTargetUrl​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      protected GUIDCookieStrategy getGuidCookieStrategy()  
      protected java.util.List<java.lang.String> getRestrictedPages()  
      protected SessionService getSessionService()  
      void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)  
      void setGuidCookieStrategy​(GUIDCookieStrategy guidCookieStrategy)  
      void setRestrictedPages​(java.util.List<java.lang.String> restrictedPages)  
      void setSessionService​(SessionService sessionService)  
      • Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

        getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CLOSE_ACCOUNT_PARAM

        public static final java.lang.String CLOSE_ACCOUNT_PARAM
        See Also:
        Constant Field Values
    • Constructor Detail

      • StorefrontLogoutSuccessHandler

        public StorefrontLogoutSuccessHandler()
    • Method Detail

      • setGuidCookieStrategy

        public void setGuidCookieStrategy​(GUIDCookieStrategy guidCookieStrategy)
      • getRestrictedPages

        protected java.util.List<java.lang.String> getRestrictedPages()
      • setRestrictedPages

        public void setRestrictedPages​(java.util.List<java.lang.String> restrictedPages)
      • onLogoutSuccess

        public void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    org.springframework.security.core.Authentication authentication)
                             throws java.io.IOException,
                                    javax.servlet.ServletException
        Specified by:
        onLogoutSuccess in interface org.springframework.security.web.authentication.logout.LogoutSuccessHandler
        Overrides:
        onLogoutSuccess in class org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • determineTargetUrl

        protected java.lang.String determineTargetUrl​(javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
        Overrides:
        determineTargetUrl in class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
      • setSessionService

        public void setSessionService​(SessionService sessionService)