AuthAttempt Event
Fires when a single authentication attempt is performed.
Syntax
public class DefaultSshclientEventListener implements SshclientEventListener { ... public void authAttempt(SshclientAuthAttemptEvent e) {} ... } public class SshclientAuthAttemptEvent { public int authType; }
Remarks
This event is fired each time a single authentication attempt is performed. AuthType parameter specifies the type of authentication. Note, this event could be fired more than once if the client tries different authentication methods one after another.