如何从我的应用程序无缝地使用ISA代理进行身份验证?

时间:2022-03-23 15:15:22

I am trying to us Qt to access a website and download updates, the problem is that one install base is using a Microsoft ISA proxy server which requires authentication.

我试图让我们Qt访问一个网站并下载更新,问题是一个安装基础是使用需要身份验证的Microsoft ISA代理服务器。

Qt gives me a function to supply a username and password: http://doc.qt.io/archives/4.6/qnetworkaccessmanager.html#proxyAuthenticationRequired

Qt给了我一个提供用户名和密码的功能:http://doc.qt.io/archives/4.6/qnetworkaccessmanager.html#proxyAuthenticationRequired

However other applications do this without asking the user for details. How do I achieve this?

但是,其他应用程序在不询问用户详细信息的情况下执我该如何实现这一目标?

1 个解决方案

#1


What type of proxy are you running? See

你在运行什么类型的代理?看到

http://doc.qt.io/archives/4.6/qnetworkproxy.html

to find what proxies Qt support.

找到Qt支持的代理。

#1


What type of proxy are you running? See

你在运行什么类型的代理?看到

http://doc.qt.io/archives/4.6/qnetworkproxy.html

to find what proxies Qt support.

找到Qt支持的代理。