protected void sendLogoutResponse(final SAML2MessageContext samlContext, final SAML2Credentials saml2Credentials) {
        samlContext.getSAMLBindingContext().setRelayState(saml2Credentials.getContext().getSAMLBindingContext().getRelayState());
        val logoutResponse = this.saml2LogoutResponseBuilder.build(samlContext);
        this.saml2LogoutResponseMessageSender.sendMessage(samlContext, logoutResponse,
            samlContext.getSAMLBindingContext().getRelayState());
    }
<p>sendLogoutResponse.</p>

@param samlContext a {@link SAML2MessageContext} object
@param saml2Credentials a {@link SAML2Credentials} object
pac4j-saml/src/main/java/org/pac4j/saml/logout/processor/SAML2LogoutProcessor.java