パッケージ jcifs.http
クラス NtlmHttpFilter
- java.lang.Object
-
- jcifs.http.NtlmHttpFilter
-
- すべての実装されたインタフェース:
javax.servlet.Filter
@Deprecated public class NtlmHttpFilter extends Object implements javax.servlet.Filter
推奨されていません。NTLMv1 onlyThis servlet Filter can be used to negotiate password hashes with MSIE clients using NTLM SSP. This is similar to Authentication: BASIC but weakly encrypted and without requiring the user to re-supply authentication credentials.Read jCIFS NTLM HTTP Authentication and the Network Explorer Servlet for complete details.
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 NtlmHttpFilter()推奨されていません。
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 推奨されていないメソッド 修飾子とタイプ メソッド 説明 voiddestroy()推奨されていません。voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)推奨されていません。This method simply calls negotiate( req, resp, false ) and then chain.doFilter.javax.servlet.FilterConfiggetFilterConfig()推奨されていません。voidinit(javax.servlet.FilterConfig filterConfig)推奨されていません。protected NtlmPasswordAuthenticationnegotiate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean skipAuthentication)推奨されていません。Negotiate password hashes with MSIE clients using NTLM SSPvoidsetFilterConfig(javax.servlet.FilterConfig f)推奨されていません。
-
-
-
メソッドの詳細
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException推奨されていません。- 定義:
initインタフェース内javax.servlet.Filter- 例外:
javax.servlet.ServletException
-
destroy
public void destroy()
推奨されていません。- 定義:
destroyインタフェース内javax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException推奨されていません。This method simply calls negotiate( req, resp, false ) and then chain.doFilter. You can override and call negotiate manually to achive a variety of different behavior.- 定義:
doFilterインタフェース内javax.servlet.Filter- 例外:
IOExceptionjavax.servlet.ServletException
-
negotiate
protected NtlmPasswordAuthentication negotiate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, boolean skipAuthentication) throws IOException, javax.servlet.ServletException
推奨されていません。Negotiate password hashes with MSIE clients using NTLM SSP- パラメータ:
req- The servlet requestresp- The servlet responseskipAuthentication- If true the negotiation is only done if it is initiated by the client (MSIE post requests after successful NTLM SSP authentication). If false and the user has not been authenticated yet the client will be forced to send an authentication (server sends HttpServletResponse.SC_UNAUTHORIZED).- 戻り値:
- True if the negotiation is complete, otherwise false
- 例外:
javax.servlet.ServletExceptionIOException
-
setFilterConfig
public void setFilterConfig(javax.servlet.FilterConfig f)
推奨されていません。- パラメータ:
f-
-
getFilterConfig
public javax.servlet.FilterConfig getFilterConfig()
推奨されていません。- 戻り値:
- filter config
-
-