草庐IT

ntlm-authentication

全部标签

android - HttpURLConnection 在 Android 2.x 中运行良好,但在 4.1 中运行良好 : No authentication challenges found

我有一些典型的代码,它们使用HttpURLConnection来获取带有URL的文件。他们在android1.x和2.x中运行良好。但在Android4.1中失败了!我在网上搜索过,但几乎没有找到类似的信息。有人可以帮忙调查一下这个问题吗?privateStringmURLStr;privateHttpURLConnectionmHttpConnection;...url=newURL(mURLStr);...mHttpConnection=(HttpURLConnection)url.openConnection();mHttpConnection.setDoOutput(true)

android - HttpURLConnection 在 Android 2.x 中运行良好,但在 4.1 中运行良好 : No authentication challenges found

我有一些典型的代码,它们使用HttpURLConnection来获取带有URL的文件。他们在android1.x和2.x中运行良好。但在Android4.1中失败了!我在网上搜索过,但几乎没有找到类似的信息。有人可以帮忙调查一下这个问题吗?privateStringmURLStr;privateHttpURLConnectionmHttpConnection;...url=newURL(mURLStr);...mHttpConnection=(HttpURLConnection)url.openConnection();mHttpConnection.setDoOutput(true)

javascript - Node.js 和 MySQL - 错误 : 1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

现在我只有这个代码:constSequelize=require('sequelize');constsequelize=newSequelize('database','root','passwd',{host:'localhost',dialect:'mysql',//http://docs.sequelizejs.com/manual/tutorial/querying.html#operatorsoperatorsAliases:false});sequelize.authenticate().then(()=>{console.log('Connectionhasbeenes

javascript - Node.js 和 MySQL - 错误 : 1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

现在我只有这个代码:constSequelize=require('sequelize');constsequelize=newSequelize('database','root','passwd',{host:'localhost',dialect:'mysql',//http://docs.sequelizejs.com/manual/tutorial/querying.html#operatorsoperatorsAliases:false});sequelize.authenticate().then(()=>{console.log('Connectionhasbeenes

node.js - Mongo Atlas : Connection authentication failed with custom databases

我正在尝试MongoAtlasCloud。我创建了一个集群,并尝试与mongoshell建立连接:(与mongo驱动程序相同)mongomongodb://***-cluster-shard-00-00-***.mongodb.net:27017,***-cluster-shard-00-01-***.mongodb.net:27017,***-cluster-shard-00-02-***.mongodb.net:27017/any_database?replicaSet=****-Cluster-shard-0--ssl--username*****--password*****这

node.js - Mongo Atlas : Connection authentication failed with custom databases

我正在尝试MongoAtlasCloud。我创建了一个集群,并尝试与mongoshell建立连接:(与mongo驱动程序相同)mongomongodb://***-cluster-shard-00-00-***.mongodb.net:27017,***-cluster-shard-00-01-***.mongodb.net:27017,***-cluster-shard-00-02-***.mongodb.net:27017/any_database?replicaSet=****-Cluster-shard-0--ssl--username*****--password*****这

javascript - Firebase 函数 : How to store simple cookies to remember an authenticated user

这个问题在这里已经有了答案:firebasecloudfunctionwon'tstorecookienamedotherthan"__session"(4个回答)关闭去年。我只是想记住一个用户在5分钟后返回网站并计算观看次数。我这样做了,在使用FirebaseServe时有效,但部署后没有存储cookie。应用程序中的某个位置。app.use(cookieSession({name:'session',keys:['utl__key_s1','utl__key_s2']}));尝试检查session是否存在并且不超过5分钟。functionsessionExists(req){con

javascript - Firebase 函数 : How to store simple cookies to remember an authenticated user

这个问题在这里已经有了答案:firebasecloudfunctionwon'tstorecookienamedotherthan"__session"(4个回答)关闭去年。我只是想记住一个用户在5分钟后返回网站并计算观看次数。我这样做了,在使用FirebaseServe时有效,但部署后没有存储cookie。应用程序中的某个位置。app.use(cookieSession({name:'session',keys:['utl__key_s1','utl__key_s2']}));尝试检查session是否存在并且不超过5分钟。functionsessionExists(req){con

node.js - 如何在 Node.js 中将 NTLM 凭据转换为 Kerberos token

我想使用Node.js构建一个服务器,它充当某种代理。连接到我的服务器的客户端使用NTLMv2进行身份验证(无法更改此设置),但我的服务器将连接到的上游服务器需要Kerberostoken。所以,我的问题很简单:如何使用Node.js将NTLMv2提供的信息转换为Kerberostoken?在npm上,到目前为止我已经找到了用于NTLMv2身份验证的模块,但我可能需要与Windows对话以将用户的NTLMv2数据转换为该用户的token。任何提示,如何解决这个问题? 最佳答案 绝对不是!NTLM和Kerberos的运作方式完全不同。

node.js - 如何在 Node.js 中将 NTLM 凭据转换为 Kerberos token

我想使用Node.js构建一个服务器,它充当某种代理。连接到我的服务器的客户端使用NTLMv2进行身份验证(无法更改此设置),但我的服务器将连接到的上游服务器需要Kerberostoken。所以,我的问题很简单:如何使用Node.js将NTLMv2提供的信息转换为Kerberostoken?在npm上,到目前为止我已经找到了用于NTLMv2身份验证的模块,但我可能需要与Windows对话以将用户的NTLMv2数据转换为该用户的token。任何提示,如何解决这个问题? 最佳答案 绝对不是!NTLM和Kerberos的运作方式完全不同。