public interface AuthMethod extends SSHPacketHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
init(AuthParams params)
This method must be called before requesting authentication with this method.
|
void |
request() |
void |
setLoggerFactory(LoggerFactory loggerFactory) |
boolean |
shouldRetry() |
handle
java.lang.String getName()
void init(AuthParams params)
params
- parameters needed for authenticationvoid request() throws UserAuthException, TransportException
UserAuthException
- if there is an error with the requestTransportException
- if there is a transport-related errorboolean shouldRetry()
void setLoggerFactory(LoggerFactory loggerFactory)