public class

AuthHostbased

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

Class Overview

Implements the hostbased SSH authentication method.

Summary

Fields
protected final String hostname
protected final String hostuser
[Expand]
Inherited Fields
From class net.schmizz.sshj.userauth.method.KeyedAuthMethod
From class net.schmizz.sshj.userauth.method.AbstractAuthMethod
Public Constructors
AuthHostbased(KeyProvider kProv, String hostname, String hostuser)
Protected Methods
SSHPacket buildReq()
Builds a SSHPacket containing the fields common to all authentication method.
[Expand]
Inherited Methods
From class net.schmizz.sshj.userauth.method.KeyedAuthMethod
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

protected final String hostname

protected final String hostuser

Public Constructors

public AuthHostbased (KeyProvider kProv, String hostname, String hostuser)

Parameters
kProv
hostname
hostuser

Protected Methods

protected SSHPacket buildReq ()

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