草庐IT

ntlm-authentication

全部标签

java - 无法在与 java.net.URLConnection 的一个 session 中使用不同的 NTLM 凭据进行身份验证

当我使用标准JavaAPI(java.net.URLConnection)访问HTTP服务器时,凭证在第一次成功验证后被“缓存”,随后对Authenticator.setDefault()的调用无效。因此,我需要重新启动应用程序才能使用不同的凭据。当使用基本身份验证时,我没有观察到这种效果。但是我需要为我正在访问的服务器使用NTLM,而JakartaCommonsHttpClient也不是替代方案,因为它不支持NTLMv2(参见http://oaklandsoftware.com/papers/ntlm.html)查看使用Wireshark的数据包,我还观察到在第一次成功的身份验证之前

windows - 混帐克隆 : Authentication failed for <URL>

尝试访问私有(private)企业tfs。他们通过向Windows用户(域\登录名)授予适当的权限来授予我访问权限。我可以访问tfs的Web界面,浏览存储库和其他东西。但是当我尝试运行时gitclonehttps://tfs.somehostname.com/tfs/somefolder/_git/therepository它失败了Cloninginto'therepository'...fatal:Authenticationfailedfor'https://tfs.somehostname.com/tfs/somefolder/_git/therepository/'尝试在没有公

c# - 使用 HTTPS "The authentication or decryption has failed"的 WebClient.DownloadString

我正在Windows10上使用UnityEngine(2017.2.0f3)创建游戏,我试图从网页中获取HTML。据我所知,Unity使用“Mono”C#编译器和运行时v2.0(根据运行mono的结果--versioninUnity\Editor\Data\Mono\bin),还有v5.0.1(根据运行mono的结果--Unity\Editor\Data\MonoBleedingEdge\bin中的版本)。我目前正在使用HTMLAgilityPack进行解析。尝试访问HTTP安全网站时,例如dictionary.com,一切都按预期工作,但无论我做什么,我都无法访问HTTPS安全网站,

windows - Vagrant "Authentication failure"during up, but "vagrant ssh"get in just fine

我被难住了。我正在尝试在Windows8.1上运行一个vagrant/virtualbox/coreos集群来开发在云中运行的集群。我已经在四台机器上试过这个(都是Windows8.1和最新的更新,并且都装有最新的VirtualBox、Vagrant、Git和Vagrant的相同配置。我正在检查所有4个系统的repo中的Vagrant配置所以我相信每个配置都是相同的。我获得了2次成功和2次失败。两台机器像这样成功:Bringingmachine'core-01'upwith'virtualbox'provider...==>core-01:Checkingifbox'coreos-st

windows - Pycharm GitHub 'Push failed: fatal: Authentication failed'

每次我尝试使用Pycharm推送GitHub中的存储库时,它都会失败。Pushfailed:fatal:Authenticationfailedfor'https://github.com/(mygithubrepository)/'在设置->版本控制->GitHub中,我填写了主机、登录和密码字段(身份验证类型:密码)。测试它:“连接成功”在设置->版本控制->Git中,Git可执行文件的路径设置为完整路径,SSH可执行文件:内置Pycharm版本3.1.1Git版本1.8.4.msysgit.0在Win7上。 最佳答案 我尝试了

windows - psql : FATAL: password authentication failed for user windows 8

我在Windows上安装了postgresql,安装时它要求为该帐户创建一个用户。这在我的计算机中创建了一个名为postgres的新Windows用户,我也为它创建了一个密码。现在我想在Windows命令行上运行psql,它要求输入密码(没有提及用户)并且总是给我返回错误:psql:FATAL:passwordauthenticationfailedforuser"Ash".即使我已经多次输入我的帐户密码。我使用pgadmin将用户“postgres”更改为“Ash”,但我还没有重新设置密码。我按照这里的步骤操作:IforgotthepasswordIenteredduringpost

authentication - 如何使用redis作为mosquitto ACL的后端

我正在研究Mosquitto,并计划使用Redis作为后端来处理用户名/密码对身份验证和ACL。我正在使用JPmens的身份验证插件来执行此操作。蚊子session:auth_opt_backendsredisauth_plugin/etc/mosquitto/auth-plug.soauth_opt_redis_host127.0.0.1auth_opt_redis_port6379auth_opt_redis_userqueryGET%sauth_opt_redis_aclqueryGET%s-%s以下名称/密码对可以正常用于身份验证SETuser1PBKDF2$sha256$90

ruby-on-rails - Sidekiq 死于以下错误 :NOAUTH Authentication required

我在centos7.1部署gitlab,启动gitlab时出现错误:“pid为9307的GitLabUnicornWeb服务器正在运行。GitLabSidekiq作业调度程序未运行。”我检查sidekiq.log如下:2016-01-22T12:52:37.630Z9990TID-osgvasil4INFO:[Sidetiq]Sidetiqv0.6.3-Copyright(c)2012-2013,TobiasSvensson2016-01-22T12:52:37.631Z9990TID-osgvasil4INFO:[Sidetiq]Sidetiqiscoveredbythe3-clau

Go 和 Redisgo : DialURL error: NOAUTH Authentication required

我正在尝试使用Go和redigo连接到我的Redis服务器具有适用于另一个应用程序的URI,用Java编写lettuce.在Go项目中,我遇到了错误NOAUTHAuthenticationrequired.我的redis.conf有requirepasstrue,我在URI中传递了密码。以下是我的连接方式:conn,err:=redis.DialURL("redis://MySecurePassword@localhost:6666/0")iferr!=nil{log.Fatal("NotabletoconnecttoRedis")}那里没有错误。当我尝试运行命令来检索数据时出现错误。

authentication - 如何禁用 redis 将自动 session 存储到数据库?

我用这段代码存储redisdbredisClientsManagerX=newPooledRedisClientManager("127.0.0.1:6379");container.Register(c=>redisClientsManagerX);container.Register(c=>c.Resolve().GetCacheClient()).ReusedWithin(Funq.ReuseScope.None);Plugins.Add(newAuthFeature(()=>newAuthUserSession(),newIAuthProvider[]{newBasicAuth