protected LogoutRedirectionResponse produceSamlLogoutResponseRedirect(final SamlRegisteredServiceMetadataAdaptor adaptor,
                                                                          final SingleLogoutService sloService,
                                                                          final SamlRegisteredService registeredService,
                                                                          final LogoutRequest logoutRequest,
                                                                          final HttpServletRequest request,
                                                                          final HttpServletResponse response) throws Exception {
        val logoutResponse = buildSamlLogoutResponse(adaptor, sloService, registeredService, logoutRequest, request, response);
        val location = StringUtils.isBlank(sloService.getResponseLocation())
            ? sloService.getLocation()
            : sloService.getResponseLocation();
        LOGGER.trace("Encoding logout response given endpoint [{}] for binding [{}]", location, sloService.getBinding());

        val encoder = new SamlIdPHttpRedirectDeflateEncoder(location, logoutResponse);
        encoder.setRelayState(fetchRelayState(request));
        encoder.doEncode();
        val redirectUrl = encoder.getRedirectUrl();
        LOGGER.debug("Final logout redirect URL is [{}]", redirectUrl);
        WebUtils.putLogoutRedirectUrl(request, redirectUrl);
        return null;
    }
This is {@link SamlIdPSingleLogoutRedirectionStrategy}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-saml-idp-web/src/main/java/org/apereo/cas/support/saml/web/idp/profile/slo/SamlIdPSingleLogoutRedirectionStrategy.java