public class

AuthKeyboardInteractive

extends AbstractAuthMethod
java.lang.Object
   ↳ net.schmizz.sshj.userauth.method.AbstractAuthMethod
     ↳ net.schmizz.sshj.userauth.method.AuthKeyboardInteractive

Class Overview

Implements the keyboard-interactive authentication method.

Summary

Fields
private final ChallengeResponseProvider provider
[Expand]
Inherited Fields
From class net.schmizz.sshj.userauth.method.AbstractAuthMethod
Public Constructors
AuthKeyboardInteractive(ChallengeResponseProvider provider)
Public Methods
SSHPacket buildReq()
Builds a SSHPacket containing the fields common to all authentication method.
void handle(Message cmd, SSHPacket buf)
Delegate handling of some SSH packet to this object.
boolean shouldRetry()
[Expand]
Inherited Methods
From class net.schmizz.sshj.userauth.method.AbstractAuthMethod
From class java.lang.Object
From interface net.schmizz.sshj.common.SSHPacketHandler
From interface net.schmizz.sshj.userauth.method.AuthMethod

Fields

private final ChallengeResponseProvider provider

Public Constructors

public AuthKeyboardInteractive (ChallengeResponseProvider provider)

Parameters
provider

Public Methods

public SSHPacket buildReq ()

Builds a SSHPacket containing the fields common to all authentication method. Method-specific fields can further be put into this buffer.

public void handle (Message cmd, SSHPacket buf)

Delegate handling of some SSH packet to this object.

Parameters
cmd The SSH message identifier
buf SSHPacket containing rest of the request

public boolean shouldRetry ()