android - Android_Ntlm - 传递域名的问题
问题描述
对于 NTLM 身份验证,我使用的是外部库https://github.com/netcosports/Android_Ntlm
当我不这样转移域时
OkHttpClient client = new OkHttpClient.Builder ()
.authenticator (new NTLMAuthenticator (userName, password, null))
.build ();
工作正常
但是当我像这样通过域时
String userDomain = “ourdomain”;
OkHttpClient client = new OkHttpClient.Builder ()
.authenticator (new NTLMAuthenticator (userName, password, userDomain))
.build ();
我收到一个错误
后续请求过多
解决方案
推荐阅读
- python - 运行长度编码代码
- javascript - Bootstrap 4 - 折叠动画的速度是多少?
- rest - 无法在 Tomcat 9 上运行 Jersey 2 Restful Web 服务
- r - How do I prevent x labels from overlapping my bars in a barplot?
- xcode - macOS In-App Purchase in sandbox environment not authorised
- php - 更新配置文件以使用缓存
- javascript - React 的 bundle.js 阻止静态 JS 运行
- asp.net-mvc - SelectTagHelper 中的 SelectediAlertIndex (显然)没有从 LoadAlert(...) ...RedirectToAction(“Index”,”Alerts”) 传递给 Index.cshtml
- http - 如何使用 CURL 发送具有相同名称的多个标题值?
- python - tensor.op 是副本还是参考?