protected void populateBindingContext(final SAML2MessageContext messageContext) {
        val bindingContext = messageContext.getMessageContext().getSubcontext(SAMLBindingContext.class, true);
        bindingContext.setBindingUri(getBindingURI(messageContext));
        bindingContext.setHasBindingSignature(false);
        bindingContext.setRelayState(bindingContext.getRelayState());
        bindingContext.setIntendedDestinationEndpointURIRequired(SAMLBindingSupport.isMessageSigned(messageContext.getMessageContext()));
    }
Populate the context which carries information specific to this binding.

@param messageContext the current message context
pac4j-saml/src/main/java/org/pac4j/saml/transport/AbstractPac4jDecoder.java