パッケージ jcifs.smb1.http
クラス NtlmSsp
- java.lang.Object
-
- jcifs.smb1.http.NtlmSsp
-
- すべての実装されたインタフェース:
NtlmFlags
public class NtlmSsp extends Object implements NtlmFlags
This class is used internally by NtlmHttpFilter, NtlmServlet, and NetworkExplorer to negiotiate 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.
-
-
フィールドの概要
-
インタフェースから継承されたフィールド jcifs.smb1.ntlmssp.NtlmFlags
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
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 NtlmSsp()
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 static NtlmPasswordAuthenticationauthenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, byte[] challenge)Performs NTLM authentication for the servlet request.NtlmPasswordAuthenticationdoAuthentication(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, byte[] challenge)Calls the staticauthenticate(HttpServletRequest, HttpServletResponse, byte[])method to perform NTLM authentication for the specified servlet request.
-
-
-
メソッドの詳細
-
doAuthentication
public NtlmPasswordAuthentication doAuthentication(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, byte[] challenge) throws IOException, javax.servlet.ServletException
Calls the staticauthenticate(HttpServletRequest, HttpServletResponse, byte[])method to perform NTLM authentication for the specified servlet request.- パラメータ:
req- The request being serviced.resp- The response.challenge- The domain controller challenge.- 例外:
IOException- If an IO error occurs.javax.servlet.ServletException- If an error occurs.
-
authenticate
public static NtlmPasswordAuthentication authenticate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, byte[] challenge) throws IOException, javax.servlet.ServletException
Performs NTLM authentication for the servlet request.- パラメータ:
req- The request being serviced.resp- The response.challenge- The domain controller challenge.- 例外:
IOException- If an IO error occurs.javax.servlet.ServletException- If an error occurs.
-
-