| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private HttpClientConnector. | |
| private List | |
| private HttpClientConnector. | |
| private Iterator | |
| private static final String | |
| private static final String | |
| private HttpClientConnector. | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | HttpClientConnector(InetSocketAddress
of the proxy server we're connecting to proxyAddress, InetSocketAddress of the target server to connect to remoteAddress)Creates a new |
| public | HttpClientConnector(InetSocketAddress
of the proxy server we're connecting to proxyAddress, InetSocketAddress of the target server to connect to remoteAddress, String to authenticate at the proxy with proxyUser, char[] to authenticate at the proxy with proxyPassword)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| private StringBuilder | |
| private void | |
| private StringBuilder | |
| private StringBuilder | |
| private AuthenticationChallenge | |
| private void | |
| public void | messageReceived(IoSession
to use for writing data session, Readable received data buffer)Implements org. Handle a received message. |
| private HttpClientConnector. | selectProtocol(List<AuthenticationChallenge> challenges, HttpClientConnector.
|
| private void | |
| public void | sendClientProxyMetadata(ClientSession
The sshSession)ClientSession instance - Note: at this stage the client's identification
line is not set yet.Implements org. Invoked once initial connection has been established so that the proxy can open its channel and send the meta-data to its peer. |
| authenticator | back to summary |
|---|---|
| private HttpClientConnector. | |
| availableAuthentications | back to summary |
|---|---|
| private List<HttpClientConnector. | |
| basic | back to summary |
|---|---|
| private HttpClientConnector. | |
| clientAuthentications | back to summary |
|---|---|
| private Iterator<HttpClientConnector. | |
| HTTP_HEADER_PROXY_AUTHENTICATION | back to summary |
|---|---|
| private static final String HTTP_HEADER_PROXY_AUTHENTICATION | |
| HTTP_HEADER_PROXY_AUTHORIZATION | back to summary |
|---|---|
| private static final String HTTP_HEADER_PROXY_AUTHORIZATION | |
| negotiate | back to summary |
|---|---|
| private HttpClientConnector. | |
| ongoing | back to summary |
|---|---|
| private boolean ongoing | |
| HttpClientConnector | back to summary |
|---|---|
| public HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress) Creates a new
| |
| HttpClientConnector | back to summary |
|---|---|
| public HttpClientConnector(InetSocketAddress proxyAddress, InetSocketAddress remoteAddress, String proxyUser, char[] proxyPassword) Creates a new
| |
| authenticate | back to summary |
|---|---|
| private StringBuilder authenticate(StringBuilder msg, String token) | |
| close | back to summary |
|---|---|
| private void close() | |
| connect | back to summary |
|---|---|
| private StringBuilder connect() | |
| eol | back to summary |
|---|---|
| private StringBuilder eol(StringBuilder msg) | |
| getByName | back to summary |
|---|---|
| private AuthenticationChallenge getByName(List<AuthenticationChallenge> challenges, String name) | |
| handleMessage | back to summary |
|---|---|
| private void handleMessage(IoSession session, List<String> reply) throws Exception | |
| messageReceived | back to summary |
|---|---|
| public void messageReceived(IoSession session, Readable buffer) throws Exception Implements org. Doc from org. Handle a received message. | |
| selectProtocol | back to summary |
|---|---|
| private HttpClientConnector. | |
| send | back to summary |
|---|---|
| private void send(StringBuilder msg, IoSession session) throws Exception | |
| sendClientProxyMetadata | back to summary |
|---|---|
| public void sendClientProxyMetadata(ClientSession sshSession) throws Exception Implements org. Doc from org. Invoked once initial connection has been established so that the proxy can open its channel and send the meta-data to its peer. Upon successful return the SSH identification line is eventually sent and the protocol proceeds as usual.
| |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| getName | back to summary |
|---|---|
| public String getName() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | askCredentials()
Overrides org. Asks for credentials via the global |
| public String | |
| public String | getToken()
Implements org. Retrieves the last token generated. |
| asked | back to summary |
|---|---|
| private boolean asked | |
| HttpBasicAuthentication | back to summary |
|---|---|
| public HttpBasicAuthentication() | |
| askCredentials | back to summary |
|---|---|
| protected void askCredentials() Overrides org. Doc from org. Asks for credentials via the global
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getToken | back to summary |
|---|---|
| public String getToken() throws Exception Implements org. Doc from org. Retrieves the last token generated. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected GSSContext | createContext()
Implements abstract org. Creates the |
| protected byte[] | extractToken(AuthenticationChallenge
to extract the token from input)Implements abstract org. Extracts the token from the last set parameters. |
| public String | |
| public String | getToken()
Implements org. Retrieves the last token generated. |
| NegotiateAuthentication | back to summary |
|---|---|
| public NegotiateAuthentication() | |
| createContext | back to summary |
|---|---|
| protected GSSContext createContext() throws Exception Implements abstract org. Doc from org. Creates the
| |
| extractToken | back to summary |
|---|---|
| protected byte[] extractToken(AuthenticationChallenge input) throws Exception Implements abstract org. Doc from org. Extracts the token from the last set parameters.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getToken | back to summary |
|---|---|
| public String getToken() throws Exception Implements org. Doc from org. Retrieves the last token generated. | |