public class AuthKeyboardInteractive extends AbstractAuthMethod
keyboard-interactive
authentication method.log, params
Constructor and Description |
---|
AuthKeyboardInteractive(ChallengeResponseProvider provider) |
Modifier and Type | Method and Description |
---|---|
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() |
getName, init, makeAccountResource, request, setLoggerFactory
public AuthKeyboardInteractive(ChallengeResponseProvider provider)
public SSHPacket buildReq() throws UserAuthException
AbstractAuthMethod
SSHPacket
containing the fields common to all authentication method. Method-specific fields can
further be put into this buffer.buildReq
in class AbstractAuthMethod
UserAuthException
public void handle(Message cmd, SSHPacket buf) throws UserAuthException, TransportException
SSHPacketHandler
handle
in interface SSHPacketHandler
handle
in class AbstractAuthMethod
cmd
- the SSH message identifier
buf
- SSHPacket
containing rest of the requestUserAuthException
TransportException
public boolean shouldRetry()
shouldRetry
in interface AuthMethod
shouldRetry
in class AbstractAuthMethod