jcifs.http
Class NtlmServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
jcifs.http.NtlmServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public abstract class NtlmServlet
- extends javax.servlet.http.HttpServlet
This servlet may be used with pre-2.3 servlet containers
to protect content with NTLM HTTP Authentication. Servlets that
extend this abstract base class may be authenticatied against an SMB
server or domain controller depending on how the
jcifs.smb.client.domain or jcifs.http.domainController
properties are be specified. With later containers the
NtlmHttpFilter should be used/b>. For custom NTLM HTTP Authentication schemes the NtlmSsp may be used.
Read jCIFS NTLM HTTP Authentication and the Network Explorer Servlet related information.
- See Also:
- Serialized Form
Method Summary |
void |
init(javax.servlet.ServletConfig config)
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NtlmServlet
public NtlmServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
service
protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException