jcifs.http
Class NtlmSsp
- NtlmFlags
public class NtlmSsp
extends java.lang.Object
NTLMSSP_NEGOTIATE_128 , NTLMSSP_NEGOTIATE_56 , NTLMSSP_NEGOTIATE_ALWAYS_SIGN , NTLMSSP_NEGOTIATE_DATAGRAM_STYLE , NTLMSSP_NEGOTIATE_KEY_EXCH , NTLMSSP_NEGOTIATE_LM_KEY , NTLMSSP_NEGOTIATE_LOCAL_CALL , NTLMSSP_NEGOTIATE_NETWARE , NTLMSSP_NEGOTIATE_NTLM , NTLMSSP_NEGOTIATE_NTLM2 , NTLMSSP_NEGOTIATE_OEM , NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED , NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED , NTLMSSP_NEGOTIATE_SEAL , NTLMSSP_NEGOTIATE_SIGN , NTLMSSP_NEGOTIATE_TARGET_INFO , NTLMSSP_NEGOTIATE_UNICODE , NTLMSSP_REQUEST_ACCEPT_RESPONSE , NTLMSSP_REQUEST_INIT_RESPONSE , NTLMSSP_REQUEST_NON_NT_SESSION_KEY , NTLMSSP_REQUEST_TARGET , NTLMSSP_TARGET_TYPE_DOMAIN , NTLMSSP_TARGET_TYPE_SERVER , NTLMSSP_TARGET_TYPE_SHARE |
authenticate
public static NtlmPasswordAuthentication authenticate(HttpServletRequest req,
HttpServletResponse resp,
byte[] challenge)
throws IOException,
ServletException
Performs NTLM authentication for the servlet request.
req
- The request being serviced.resp
- The response.challenge
- The domain controller challenge.
doAuthentication
public NtlmPasswordAuthentication doAuthentication(HttpServletRequest req,
HttpServletResponse resp,
byte[] challenge)
throws IOException,
ServletException
req
- The request being serviced.resp
- The response.challenge
- The domain controller challenge.