protected String determineLogoutResponseBindingType(final SamlRegisteredServiceMetadataAdaptor adaptor,
                                                        final SamlRegisteredService samlRegisteredService) {

        val logout = configurationContext.getCasProperties().getAuthn().getSamlIdp().getLogout();
        var binding = logout.getLogoutResponseBinding();
        if (StringUtils.isNotBlank(samlRegisteredService.getLogoutResponseBinding())) {
            binding = samlRegisteredService.getLogoutResponseBinding();
        } else if (!adaptor.getSingleLogoutServices().isEmpty()) {
            binding = adaptor.getSingleLogoutService().getBinding();
        }

        return StringUtils.defaultIfBlank(binding, SAMLConstants.SAML2_REDIRECT_BINDING_URI);
    }
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