private class Socks5ClientConnector.SocksGssApiAuthentication extends GssApiAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>
| Modifier and Type | Field and Description |
|---|---|
private static int |
SOCKS5_GSSAPI_FAILURE |
private static byte |
SOCKS5_GSSAPI_TOKEN |
private static byte |
SOCKS5_GSSAPI_VERSION |
tokendone, params, proxy| Constructor and Description |
|---|
SocksGssApiAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
protected org.ietf.jgss.GSSContext |
createContext()
Creates the
GSSContext to use. |
protected byte[] |
extractToken(org.apache.sshd.common.util.buffer.Buffer input)
Extracts the token from the last set parameters.
|
org.apache.sshd.common.util.buffer.Buffer |
getToken()
Retrieves the last token generated.
|
close, process, startisDone, setParamsprivate static final byte SOCKS5_GSSAPI_VERSION
private static final byte SOCKS5_GSSAPI_TOKEN
private static final int SOCKS5_GSSAPI_FAILURE
protected org.ietf.jgss.GSSContext createContext()
throws java.lang.Exception
GssApiAuthenticationGSSContext to use.createContext in class GssApiAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>GSSContext to usejava.lang.Exception - if the context cannot be createdpublic org.apache.sshd.common.util.buffer.Buffer getToken()
throws java.lang.Exception
AuthenticationHandlernull if there is nonejava.lang.Exception - if an error occursprotected byte[] extractToken(org.apache.sshd.common.util.buffer.Buffer input)
throws java.lang.Exception
GssApiAuthenticationextractToken in class GssApiAuthentication<org.apache.sshd.common.util.buffer.Buffer,org.apache.sshd.common.util.buffer.Buffer>input - to extract the token fromnull if nonejava.lang.Exception - if an error occurs