Discuss this help topic in SecureBlackbox Forum
Sign requests transferred via Redirect binding
To use HTTP Redirect binding with TElSAMLServiceProvider it is necessary to implement the OnBeforeBindingUse event handler. This event is fired before any binding is applied to the SP request or response and allows to adjust binding options.
The OnBeforeBindingUse event handler receives the Binding parameter which must be typecasted to TElSAMLRedirectBinding type. Then TElSAMLRedirectBinding.KeyMaterial property should be initialized with a key material that will be used to sign the data. Usually signing mechanism is applied only if original XML passed to the binding algorithm was signed, however if XML is not signed and you still want to apply signature to the binding then TElSAMLRedirectBinding.ForceSign property should be turned on.