public class HttpNTLMAuthLogicHandler extends AbstractAuthLogicHandler
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
challengePacket
The challenge provided by the server.
|
private static org.slf4j.Logger |
LOGGER |
proxyIoSession, request, step| Constructor and Description |
|---|
HttpNTLMAuthLogicHandler(ProxyIoSession proxyIoSession)
Build an HttpNTLMAuthLogicHandler
|
| Modifier and Type | Method and Description |
|---|---|
void |
doHandshake(IoFilter.NextFilter nextFilter)
Method called at each step of the handshaking process.
|
private java.lang.String |
getNTLMHeader(HttpProxyResponse response)
Returns the value of the NTLM Proxy-Authenticate header.
|
void |
handleResponse(HttpProxyResponse response)
Handles a HTTP response from the proxy server.
|
addKeepAliveHeaders, writeRequestprivate static final org.slf4j.Logger LOGGER
private byte[] challengePacket
public HttpNTLMAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
ProxyAuthExceptionpublic void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
doHandshake in class AbstractAuthLogicHandlernextFilter - the next filterProxyAuthExceptionprivate java.lang.String getNTLMHeader(HttpProxyResponse response)
response - the proxy responsepublic void handleResponse(HttpProxyResponse response) throws ProxyAuthException
handleResponse in class AbstractAuthLogicHandlerresponse - The HTTP response.ProxyAuthException