Modifier and Type | Field and Description |
---|---|
static int |
SSH_MSG_USERAUTH_BANNER |
static int |
SSH_MSG_USERAUTH_FAILURE |
static int |
SSH_MSG_USERAUTH_REQUEST |
static int |
SSH_MSG_USERAUTH_SUCCESS |
Constructor and Description |
---|
AuthenticationProtocolClient(TransportProtocolClient transport,
SshClientContext context,
String username) |
Modifier and Type | Method and Description |
---|---|
void |
doNextAuthentication() |
int |
getIdleTimeoutSeconds()
How long does the service allow idle for?
|
String |
getName()
The service name
|
boolean |
processMessage(byte[] msg)
Process a transport message.
|
void |
start()
Start the service.
|
void |
stop()
Stop the service
|
public static final int SSH_MSG_USERAUTH_REQUEST
public static final int SSH_MSG_USERAUTH_FAILURE
public static final int SSH_MSG_USERAUTH_SUCCESS
public static final int SSH_MSG_USERAUTH_BANNER
public AuthenticationProtocolClient(TransportProtocolClient transport, SshClientContext context, String username)
public boolean processMessage(byte[] msg) throws IOException
Service
TransportProtocol
that is not a transport level message the
message is passed onto the active service using this method. The service
processes the message and returns a value to indicate whether the message
was used.processMessage
in interface Service
IOException
public void start()
Service
public void doNextAuthentication()
public void stop()
Service
public int getIdleTimeoutSeconds()
Service
getIdleTimeoutSeconds
in interface Service
Copyright © 2016. All rights reserved.