Discuss this help topic in SecureBlackbox Forum

TElWebDAVServer.OnGetUserPassword

TElWebDAVServer     


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


This event is fired when user's password is requested.

Declaration

[C#]
    event TSBOnGetUserPasswordEvent OnGetUserPassword;
    delegate void TSBOnGetUserPasswordEvent(Object Sender, TElHTTPServerRequestParams ReqParams, ref string Password, ref bool Accept);

[VB.NET]
    Event OnGetUserPassword As TSBOnGetUserPasswordEvent
    Delegate Sub TSBOnGetUserPasswordEvent(ByVal Sender As Object, ByVal ReqParams As TElHTTPServerRequestParams, ByRef Password As String, ByRef Accept As Boolean)

[Pascal]
    property OnGetUserPassword : TSBOnGetUserPasswordEvent;
    TSBOnGetUserPasswordEvent = procedure(Sender : TObject; ReqParams : TElHTTPServerRequestParams; var Password : string; var Accept : boolean) of object;

[C++]
    void get_OnGetUserPassword(TSBOnGetUserPasswordEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetUserPassword(TSBOnGetUserPasswordEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBOnGetUserPasswordEvent)(void * _ObjectData, TObjectHandle Sender, TElHTTPServerRequestParamsHandle ReqParams, char * pcPassword, int32_t &szPassword, int8_t &Accept);

[PHP]
    TSBOnGetUserPasswordEvent|callable|NULL get_OnGetUserPassword()
    void set_OnGetUserPassword(TSBOnGetUserPasswordEvent|callable|NULL $Value)
    callable TSBOnGetUserPasswordEvent(TObject $Sender, TElHTTPServerRequestParams $ReqParams, string &$Password, bool &$Accept)

[Java]
    TSBOnGetUserPasswordEvent getOnGetUserPassword();
    void setOnGetUserPassword(TSBOnGetUserPasswordEvent Value);
    TSBOnGetUserPasswordEvent.Callback OnGetUserPassword = new TSBOnGetUserPasswordEvent.Callback() {
        public void TSBOnGetUserPasswordEventCallback(TObject Sender, TElHTTPServerRequestParams ReqParams, TSBString Password, TSBBoolean Accept) {
            //...
        }
    }

Parameters

  • ReqParams - contains HTTP request parameters.
  • Password - the handler could use this parameter to send the password.
  • pcPassword - the handler could use this parameter to send the password.
  • szPassword - the length of pcPassword in bytes.
  • Accept - the handler should set this parameter to true if the request has been accepted, and to false otherwise.

Description

    This event is fired by TElWebDAVServer when a client requests user password.

Discuss this help topic in SecureBlackbox Forum