Discuss this help topic in SecureBlackbox Forum

TElSAMLPOSTBinding.OnParseForm

TElSAMLPOSTBinding     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when an HTML form control needs to be parsed.

Declaration

[C#]
    event TSBSAMLPOSTBindingParseForm OnParseForm;
    delegate void TSBSAMLPOSTBindingParseForm(Object Sender, string Html, string BodyName, ref string URL, ref string Body, ref string RelayState);

[VB.NET]
    Event OnParseForm As TSBSAMLPOSTBindingParseForm
    Delegate Sub TSBSAMLPOSTBindingParseForm(ByVal Sender As Object, ByVal Html As String, ByVal BodyName As String, ByRef URL As String, ByRef Body As String, ByRef RelayState As String)

[Pascal]
    property OnParseForm : TSBSAMLPOSTBindingParseForm;
    TSBSAMLPOSTBindingParseForm = procedure(Sender : TObject; const Html, BodyName : string; var URL : string; var Body : string; var RelayState : string) of object;

[C++]
    void get_OnParseForm(TSBSAMLPOSTBindingParseForm &pMethodOutResult, void * &pDataOutResult);
    void set_OnParseForm(TSBSAMLPOSTBindingParseForm pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLPOSTBindingParseForm)(void * _ObjectData, TObjectHandle Sender, const char * pcHtml, int32_t szHtml, const char * pcBodyName, int32_t szBodyName, char * pcURL, int32_t &szURL, char * pcBody, int32_t &szBody, char * pcRelayState, int32_t &szRelayState);

[PHP]
    TSBSAMLPOSTBindingParseForm|callable|NULL get_OnParseForm()
    void set_OnParseForm(TSBSAMLPOSTBindingParseForm|callable|NULL $Value)
    callable TSBSAMLPOSTBindingParseForm(TObject $Sender, string $Html, string $BodyName, string &$URL, string &$Body, string &$RelayState)

[Java]
    TSBSAMLPOSTBindingParseForm getOnParseForm();
    void setOnParseForm(TSBSAMLPOSTBindingParseForm Value);
    TSBSAMLPOSTBindingParseForm.Callback OnParseForm = new TSBSAMLPOSTBindingParseForm.Callback() {
        public void TSBSAMLPOSTBindingParseFormCallback(TObject Sender, String Html, String BodyName, TSBString URL, TSBString Body, TSBString RelayState) {
            //...
        }
    }

Parameters

  • Html - the HTML form.
  • BodyName - the name of the body element.
  • URL - the extracted URL value should be passed via this parameter.
  • Body - the extracted message body should be passed via this parameter.
  • RelayState - the RelayState value should be passed via this parameter.
  • pcHtml - the HTML form.
  • szHtml - the length of pcHtml.
  • pcBodyName - the name of the body element.
  • szBodyName - the length of pcBodyName.
  • pcURL - the extracted URL value should be passed via this parameter.
  • szURL - the length of pcURL.
  • pcBody - the extracted message body should be passed via this parameter.
  • szBody - the length of pcBody.
  • pcRelayState - the RelayState value should be passed via this parameter.
  • szRelayState - the length of pcRelayState.

Description

This event is fired by TElSAMLPOSTBinding when it needs to parse an HTML form control. The handler should extract the URL, the body content of the message, and the RelayState value. These values should be passed back to the component via the corresponding parameters

See also:     Body     RelayState     URL    

Discuss this help topic in SecureBlackbox Forum