Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0
-
None
-
Visual Studio Professional V17.6.1
Windows 10
-
-
90af40ccd (dev), a8b0b7798 (6.6), b0c9f38cb (6.5)
Description
When using QNetworkAccessManager with Negotiate Authentication, I need to set the 'spn' outgoing option of QAuthenticator. To access the QAuthenticator component, the signal 'QNetworkAccessManager::authenticationRequired' has to fire, as soon as the server returns '401 - Unauthorized'. However the signal does not fire.
The Issue lies in 'qhttpnetworkconnection.cpp'. The signal is fired in line 449, but the if-statement in line 435 only allows NTLM Authentication (See "Code_Sample_1.png").
The file "qhttpnetworkconnection_mod.cpp" contains the modified code, which resolves this issue.
Thank you for addressing this issue.
Sincerely,
Emil Wipplinger
Attachments
For Gerrit Dashboard: QTBUG-114559 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
490874,5 | Handle authenticate challenge for Negotiate | dev | qt/qtbase | Status: MERGED | +2 | 0 |
491830,2 | Handle authenticate challenge for Negotiate | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
491831,2 | Handle authenticate challenge for Negotiate | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |