Module jcifs

Class NtlmSsp

java.lang.Object
org.codelibs.jcifs.smb.http.NtlmSsp
All Implemented Interfaces:
NtlmFlags

@Deprecated public class NtlmSsp extends Object implements NtlmFlags
Deprecated.
This class is used internally by NtlmHttpFilter, NtlmServlet, and NetworkExplorer to negotiate password hashes via NTLM SSP with MSIE. It might also be used directly by servlet containers to incorporate similar functionality.

How NTLMSSP is used in conjunction with HTTP and MSIE clients is described in an NTLM Authentication Scheme for HTTP.

Also, read jCIFS NTLM HTTP Authentication and the Network Explorer Servlet related information.

  • Constructor Details

    • NtlmSsp

      public NtlmSsp()
      Deprecated.
      Default constructor.
  • Method Details

    • doAuthentication

      public NtlmPasswordAuthentication doAuthentication(CIFSContext tc, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, byte[] challenge) throws IOException
      Deprecated.
      Calls the static authenticate(CIFSContext, HttpServletRequest, HttpServletResponse, byte[]) method to perform NTLM authentication for the specified servlet request.
      Parameters:
      tc - the CIFS context to use
      req - The request being serviced.
      resp - The response.
      challenge - The domain controller challenge.
      Returns:
      credentials passed in the servlet request
      Throws:
      IOException - If an IO error occurs.
    • authenticate

      public static NtlmPasswordAuthentication authenticate(CIFSContext tc, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, byte[] challenge) throws IOException
      Deprecated.
      Performs NTLM authentication for the servlet request.
      Parameters:
      tc - context to use
      req - The request being serviced.
      resp - The response.
      challenge - The domain controller challenge.
      Returns:
      credentials passed in the servlet request
      Throws:
      IOException - If an IO error occurs.