Package jcifs.smb1.http
Class NtlmServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- jcifs.smb1.http.NtlmServlet
-
- All Implemented Interfaces:
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.smb1.smb1.client.domain or jcifs.smb1.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
-
-
Constructor Summary
Constructors Constructor Description NtlmServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
- Specified by:
init
in interfacejavax.servlet.Servlet
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
service
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
-