Class HttpNTLMAuthLogicHandler
- java.lang.Object
-
- org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
-
- org.apache.mina.proxy.handlers.http.ntlm.HttpNTLMAuthLogicHandler
-
public class HttpNTLMAuthLogicHandler extends AbstractAuthLogicHandler
HttpNTLMAuthLogicHandler.java - HTTP NTLM authentication mechanism logic handler.- Since:
- MINA 2.0.0-M3
- Author:
- Apache MINA Project
-
-
Field Summary
-
Fields inherited from class org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
proxyIoSession, request, step
-
-
Constructor Summary
Constructors Constructor Description HttpNTLMAuthLogicHandler(ProxyIoSession proxyIoSession)
Build an HttpNTLMAuthLogicHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doHandshake(IoFilter.NextFilter nextFilter)
Method called at each step of the handshaking process.void
handleResponse(HttpProxyResponse response)
Handles a HTTP response from the proxy server.-
Methods inherited from class org.apache.mina.proxy.handlers.http.AbstractAuthLogicHandler
addKeepAliveHeaders, writeRequest
-
-
-
-
Constructor Detail
-
HttpNTLMAuthLogicHandler
public HttpNTLMAuthLogicHandler(ProxyIoSession proxyIoSession) throws ProxyAuthException
Build an HttpNTLMAuthLogicHandler- Parameters:
proxyIoSession
- The original session- Throws:
ProxyAuthException
- If we get an error during the proxy authentication
-
-
Method Detail
-
doHandshake
public void doHandshake(IoFilter.NextFilter nextFilter) throws ProxyAuthException
Method called at each step of the handshaking process.- Specified by:
doHandshake
in classAbstractAuthLogicHandler
- Parameters:
nextFilter
- the next filter- Throws:
ProxyAuthException
- If we get an error during the proxy authentication
-
handleResponse
public void handleResponse(HttpProxyResponse response) throws ProxyAuthException
Handles a HTTP response from the proxy server.- Specified by:
handleResponse
in classAbstractAuthLogicHandler
- Parameters:
response
- The HTTP response.- Throws:
ProxyAuthException
- If we get an error during the proxy authentication
-
-