jcifs的NTLMHTTP验证及所犯错误终版.pdfVIP

  • 31
  • 0
  • 约3.1千字
  • 约 3页
  • 2022-04-18 发布于福建
  • 举报
jcifs 的 NTLM HTTP 验证及所犯错误 一、错误提示: 0xC0000022: jcifs.smb.SmbAuthException: Access is denied The NTLMHTTPSSOFilter that used to be included with JCIFS cannot support NTLMv2. 1) jcifs.smb.lmCompatibility = 0 or 1: Send LM and NTLM 2) jcifs.smb.lmCompatibility = 2: Send NTLM in both fields 3) jcifs.smb.lmCompatibility = 3, 4, or 5: Send just LMv2 1、使用包: jcifs-1.3.14.jar 2、Eclipse 的 web 工程中的 web.xml 配置:下面黑体配置,解决了错误。 ?xml version=1.0 encoding=UTF-8? web-app xmlns:xsi= /2001/XMLSchema-instance xmlns= /xml/ns/javaee xmlns:web= /xml/ns/javaee/web-app_2_5.xsd xsi:schemaLocation= /xml/ns/javaee /xml/ns/javaee/web-app_2_5.xsd id=WebApp_ID version=2.5 display-nameITSystemSSO/display-name filter filter-nameWebServicesFilter/filter-name filter-classcom.channelsoft.sso.ipfilter.IpFilter/filter-class /filter filter-mapping filter-nameWebServicesFilter/filter-name url-pattern/*/url-pattern /filter-mapping filter filter-nameNtlmHttpFilter/filter-name filter-classjcifs.http.NtlmHttpFilter/filter-class init-param param-namejcifs.http.domainController/param-name param-value/param-value /init-param init-param param-namejcifs.smb.lmCompatibility/param-name param-value0/param-value /init-param init-param param-namejcifs.smb.client.useExtenededSecurity/param-name param-valuefalse/param-value /init-param init-param param-namejcifs.smb.client.soTimeout/param-name param-value35000/param-value /init-param /filter filter-mapping filter-nameNtlmHttpFilter/filter-name url-pattern/*/url-pattern /filter-mapping filter filter-nameDenyFilter/filter-name filter-classcom.channelsoft.sso.deny.DenyAll/filter-class /

文档评论(0)

1亿VIP精品文档

相关文档