com.liferay.portal.servlet.filters.sso.ntlm
Class NtlmFilter

java.lang.Object
  extended byjcifs.http.NtlmHttpFilter
      extended bycom.liferay.portal.servlet.filters.sso.ntlm.NtlmFilter
All Implemented Interfaces:
javax.servlet.Filter

public class NtlmFilter
extends jcifs.http.NtlmHttpFilter

View Source

Author:
Bruno Farache, Marcus Schmidke

Constructor Summary
NtlmFilter()
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig config)
           
 jcifs.smb.NtlmPasswordAuthentication negotiate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean skipAuthentication)
           
 
Methods inherited from class jcifs.http.NtlmHttpFilter
destroy, getFilterConfig, setFilterConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NtlmFilter

public NtlmFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig config)
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws java.io.IOException,
                     javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

negotiate

public jcifs.smb.NtlmPasswordAuthentication negotiate(javax.servlet.http.HttpServletRequest req,
                                                      javax.servlet.http.HttpServletResponse res,
                                                      boolean skipAuthentication)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException