Discuss this help topic in SecureBlackbox Forum

TElSSHBaseClient.OnAuthenticationFailed

TElSSHBaseClient     See also     


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


This event is fired when an authentication attempt has failed.

Declaration

[C#]
    event TSSHAuthenticationFailedEvent OnAuthenticationFailed;
    delegate void TSSHAuthenticationFailedEvent(Object Sender, int AuthenticationType);

[VB.NET]
    Event OnAuthenticationFailed As TSSHAuthenticationFailedEvent
    Delegate Sub TSSHAuthenticationFailedEvent(ByVal Sender As Object, ByVal AuthenticationType As Integer)

[Pascal]
    property OnAuthenticationFailed : TSSHAuthenticationFailedEvent;
    TSSHAuthenticationFailedEvent = procedure(Sender : TObject; AuthenticationType : integer) of object;

[C++]
    void get_OnAuthenticationFailed(TSSHAuthenticationFailedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationFailedEvent)(void * _ObjectData, TObjectHandle Sender, int32_t AuthenticationType);

[PHP]
    TSSHAuthenticationFailedEvent|callable|NULL get_OnAuthenticationFailed()
    void set_OnAuthenticationFailed(TSSHAuthenticationFailedEvent|callable|NULL $Value)
    callable TSSHAuthenticationFailedEvent(TObject $Sender, integer $AuthenticationType)

[Java]
    TSSHAuthenticationFailedEvent getOnAuthenticationFailed();
    void setOnAuthenticationFailed(TSSHAuthenticationFailedEvent Value);
    TSSHAuthenticationFailedEvent.Callback OnAuthenticationFailed = new TSSHAuthenticationFailedEvent.Callback() {
        public void TSSHAuthenticationFailedEventCallback(TObject Sender, int AuthenticationType) {
            //...
        }
    }

Parameters

  • AuthenticationType - specifies the authentication type.

Description

This event is fired when an authentication attempt has failed. As SSH may try a number of authentication attempts of different types, or with different parameters (such as public keys) during one session, this event may be not critical and may not lead to closing of the connection.

See also:     OnAuthenticationSuccess    

Discuss this help topic in SecureBlackbox Forum