Class SamlLogoutSuccessHandler

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

    public class SamlLogoutSuccessHandler
    extends org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
    implements org.springframework.security.web.authentication.logout.LogoutHandler
    Finishes logout by calling logoutSuccessHandler.
    Author:
    Eugene Biruk
    • Field Summary

      • Fields inherited from class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      SamlLogoutSuccessHandler​(org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSaml4LogoutRequestResolver requestResolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void logout​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
      Causes a logout to be completed.
      • Methods inherited from class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler

        isInvalidateHttpSession, setClearAuthentication, setInvalidateHttpSession, setSecurityContextHolderStrategy, setSecurityContextRepository
    • Constructor Detail

      • SamlLogoutSuccessHandler

        public SamlLogoutSuccessHandler​(org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSaml4LogoutRequestResolver requestResolver)
    • Method Detail

      • logout

        public void logout​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           org.springframework.security.core.Authentication authentication)
        Causes a logout to be completed. Call logoutSuccessHandler.
        Specified by:
        logout in interface org.springframework.security.web.authentication.logout.LogoutHandler
        Overrides:
        logout in class org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
        Parameters:
        request - the HTTP request
        response - the HTTP response
        authentication - the current principal details