Module jcifs

Class NtlmServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.codelibs.jcifs.smb.http.NtlmServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@Deprecated public abstract class NtlmServlet extends jakarta.servlet.http.HttpServlet
Deprecated.
NTLMv1 only
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 authenticated against an SMB server or domain controller depending on how the org.codelibs.jcifs.smb.impl.client.domain or org.codelibs.jcifs.smb.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
    Modifier
    Constructor
    Description
    protected
    Deprecated.
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init(jakarta.servlet.ServletConfig config)
    Deprecated.
     
    protected void
    service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
    Deprecated.
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service

    Methods inherited from class jakarta.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
  • Constructor Details

    • NtlmServlet

      protected NtlmServlet()
      Deprecated.
      Default constructor.
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Deprecated.
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.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
      Deprecated.
      Overrides:
      service in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException