private class Socks5ClientConnector.SocksBasicAuthentication extends BasicAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>
| Modifier and Type | Field and Description |
|---|---|
private static byte |
SOCKS_BASIC_AUTH_SUCCESS |
private static byte |
SOCKS_BASIC_PROTOCOL_VERSION |
password, userdone, params, proxy| Constructor and Description |
|---|
SocksBasicAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
askCredentials()
Asks for credentials via the global
Authenticator. |
org.apache.sshd.common.util.buffer.Buffer |
getToken()
Retrieves the last token generated.
|
void |
process()
Produces the next authentication token, if any.
|
clearPassword, close, startisDone, setParamsprivate static final byte SOCKS_BASIC_PROTOCOL_VERSION
private static final byte SOCKS_BASIC_AUTH_SUCCESS
public void process()
throws java.lang.Exception
AuthenticationHandlerprocess in interface AuthenticationHandler<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>process in class BasicAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>java.lang.Exception - if an error occursprotected void askCredentials()
BasicAuthenticationAuthenticator.askCredentials in class BasicAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>public org.apache.sshd.common.util.buffer.Buffer getToken()
throws java.io.IOException
AuthenticationHandlernull if there is nonejava.io.IOException