Commit Graph

42 Commits

Author SHA1 Message Date
Karl Wright 44f8924b58 HTTPCLIENT-1834: NTLN auth refactoring; support for MS CredSsp auth
Contributed by Radovan Semancik <radovan.semancik at evolveum.com> and Karl Wright <kwright at apache.org>
2017-05-13 11:07:02 +02:00
Karl Wright a2a581eba1 Fix for HTTPCLIENT-1833
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787433 13f79535-47bb-0310-9956-ffa450edef68
2017-05-12 21:53:13 +02:00
Oleg Kalnichevski ef95068aef Upgraded HttpClient version to 4.5.4-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1780344 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 09:53:49 +00:00
Oleg Kalnichevski 0514407d8c Upgraded HttpCore to version 4.4.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1770506 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 16:40:54 +00:00
Oleg Kalnichevski 85b0047f6e Upgraded HttpClient version to 4.5.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1732457 13f79535-47bb-0310-9956-ffa450edef68
2016-02-26 11:39:03 +00:00
Gary D. Gregory ac5e71b6aa Add final modifier to local variables.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726971 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 09:04:42 +00:00
Gary D. Gregory 9d5dde271f Add final modifier to private fields.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726967 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 09:00:25 +00:00
Gary D. Gregory 8a27962f79 Add missing @Override annotations.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1726962 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:51:00 +00:00
Oleg Kalnichevski b6c1516e61 Upgraded HttpClient version to 4.5.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1703168 13f79535-47bb-0310-9956-ffa450edef68
2015-09-15 12:18:02 +00:00
Michael Osipov 795a092dbd Correct spelling of user 'principal' in the documentation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1695238 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 10:00:42 +00:00
Oleg Kalnichevski 12482402c4 Upgraded HttpClient version to 4.5.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1683489 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 08:41:39 +00:00
Michael Osipov fc250e5616 HTTPCLIENT-1623: Several files still refer to Java 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662569 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 20:59:56 +00:00
Oleg Kalnichevski 5927ed1966 Upgraded project version to 4.5-alpha1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662491 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 16:35:41 +00:00
Oleg Kalnichevski 2e292aa2b7 Upgraded HttpClient version to 4.4.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1656440 13f79535-47bb-0310-9956-ffa450edef68
2015-02-02 10:51:12 +00:00
Sebastian Bazley 99727816af Fix indentation - no code change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1653970 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 17:40:44 +00:00
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