Commit Graph

27 Commits

Author SHA1 Message Date
Michael Osipov 172592dbce HTTPCLIENT-1571: Commit for HTTPCLIENT-1562 broke change from HTTPCLIENT-1560
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639784 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 20:42:36 +00:00
Michael Osipov 3a56fb37aa Fixed a regression introduced by HTTPCLIENT-1545
* Initially a SEC_E_DOWNGRADE_DETECTED was thrown but this one is not available on Windows XP and tests never pass. Rather use SEC_E_TARGET_UNKNOWN.
* Hostnames must be in lower case when a SPN is provided

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639679 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 15:50:01 +00:00
Oleg Kalnichevski ebc0587569 HTTPCLIENT-1562: Typo in WindowsNegotiateScheme
Contributed by Michael Osipov <michaelo at apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1630126 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 14:42:35 +00:00
Oleg Kalnichevski c69064b336 HTTPCLIENT-1560: Request mutual auth in WinHttpClient
Contributed by Michael Osipov <michaelo at apache.org>

Removed ISC_REQ_CONNECTION because it is already set
by default. Added ISC_REQ_MUTUAL_AUTH which is also
required by ISC_REQ_DELEGATE.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1630125 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 14:42:23 +00:00
Oleg Kalnichevski de48ae0c85 Upgraded HttpClient version to 4.4-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1627720 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 07:38:00 +00:00
Gary D. Gregory aa4204b412 Javadoc 8 fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619457 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:51:47 +00:00
Gary D. Gregory 7e4cfbb688 Branding: Use "Apache" in Maven module names and descriptions.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619388 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 13:22:42 +00:00
Oleg Kalnichevski d03d53cb39 HTTPCLIENT-1541: Use correct service principle name (HTTP/hostname) for native Win auth
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619373 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 11:58:13 +00:00
Oleg Kalnichevski 4f49584d6b HTTPCLIENT-1545: Improved unit test
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1619126 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 15:28:59 +00:00
Oleg Kalnichevski 8c85040d3e Catch Exception instead of Throwable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618553 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:39:26 +00:00
Oleg Kalnichevski c694717040 HTTPCLIENT-1545: Possible infinite loop when WindowsNegotiateScheme authentication fails
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618551 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:38:44 +00:00
Oleg Kalnichevski 2b302e050a HTTPCLIENT-1540: Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618165 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 12:37:37 +00:00
Oleg Kalnichevski d20886cd56 Upgraded HttpClient version to 4.4-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606643 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 08:20:31 +00:00
Oleg Kalnichevski d9cc6c8879 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606188 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 19:30:09 +00:00
Oleg Kalnichevski 0d12fdcbc2 Added Win auth example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602402 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:40 +00:00
Oleg Kalnichevski 00a8e01a17 HTTPCLIENT-1394: added factory methods for HttpClient instances configured to use integrated Windows authentication by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602401 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:20 +00:00
Oleg Kalnichevski 101850f4fc HTTPCLIENT-1394: made WindowsCredentialsProvider a decorator for an arbitrary CredentialsProvider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602398 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:02:02 +00:00
Oleg Kalnichevski 8b01566bf7 HTTPCLIENT-1394: minor improvements in CurrentWindowsCredentials
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1602397 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 12:01:47 +00:00
Oleg Kalnichevski 85f876d6b1 HTTPCLIENT-1491: Enable provision of Service Principal Name in Windows native auth scheme
Contributed by Malcolm Smith <malcolmfsmith at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1583331 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 14:04:34 +00:00
Sebastian Bazley c85a1e0344 Standardise on Locale.ROOT for case-conversion
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1579495 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 01:12:53 +00:00
Oleg Kalnichevski bd2585f515 Updated artifact name (winauth-jni to httpclient-win)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1568978 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 13:17:30 +00:00
Oleg Kalnichevski d42150042d Added Windows specific CredentialsProvider that always returns current user credentials to NTLM and SPNEGO auth challenges
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561333 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 16:27:37 +00:00
Oleg Kalnichevski f04d653be3 Updated @since tag for Win Auth classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561068 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:05:45 +00:00
Oleg Kalnichevski 715a34c860 Use Java 1.6 String#isEmpty(); minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561064 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:45 +00:00
Oleg Kalnichevski 594f2f4b62 Added missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561063 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:02:05 +00:00
Oleg Kalnichevski 54c767ee07 Upgraded project version to 4.4-alpha1-SNAPSHOT; upgraded minimal Java level to 1.6; re-enabled win atuh module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1561061 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:00:08 +00:00
Oleg Kalnichevski 4b7aa84f58 Renamed winauth-jni to httpclient-win
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1519929 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 07:58:06 +00:00