java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.codelibs.jcifs.smb1.http.NtlmServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public abstract class NtlmServlet
extends jakarta.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
org.codelibs.jcifs.smb1.smb1.client.domain or org.codelibs.jcifs.smb1.http.domainController
properties are be specified. With later containers the
NtlmHttpFilter should be used. 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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
NtlmServlet
protected NtlmServlet()Default constructor.
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.GenericServlet- Throws:
jakarta.servlet.ServletException
-
service
protected void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-