Class NTLMPostFilter
java.lang.Object
org.nuxeo.ecm.platform.ui.web.auth.ntlm.NTLMPostFilter
- All Implemented Interfaces:
javax.servlet.Filter
Manage NTLM "Protected POST" see : http://jcifs.samba.org/src/docs/ntlmhttpauth.html
http://curl.haxx.se/rfc/ntlm.html
- Author:
- Thierry Delprat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) protected void
handleNtlmPost
(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, String ntlmHeader) void
init
(javax.servlet.FilterConfig filterConfig)
-
Constructor Details
-
NTLMPostFilter
public NTLMPostFilter()
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
handleNtlmPost
protected void handleNtlmPost(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, String ntlmHeader) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Filter
-