Class Saml2RelyingPartyInitiatedLogoutSuccessHandler

  • All Implemented Interfaces:
    LogoutSuccessHandler

    public final class Saml2RelyingPartyInitiatedLogoutSuccessHandler
    extends java.lang.Object
    implements LogoutSuccessHandler
    A success handler for issuing a SAML 2.0 Logout Request to the the SAML 2.0 Asserting Party
    Since:
    5.6
    • Method Detail

      • onLogoutSuccess

        public void onLogoutSuccess​(javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response,
                                    Authentication authentication)
                             throws java.io.IOException
        Produce and send a SAML 2.0 Logout Response based on the SAML 2.0 Logout Request received from the asserting party
        Specified by:
        onLogoutSuccess in interface LogoutSuccessHandler
        Parameters:
        request - the HTTP request
        response - the HTTP response
        authentication - the current principal details
        Throws:
        java.io.IOException - when failing to write to the response