jcifs.http

Class NtlmServlet


public abstract class NtlmServlet
extends 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.

Method Summary

void
init(ServletConfig config)
protected void
service(HttpServletRequest request, HttpServletResponse response)

Method Details

init

public void init(ServletConfig config)
            throws ServletException

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
            throws ServletException,
                   IOException