Commit Graph

43 Commits

Author SHA1 Message Date
Oleg Kalnichevski 7459a26370 Changed project groupId to org.apache.httpcomponents.core5; changed artifactIds to include major project version (httpclient -> httpclient5)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724989 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 15:16:44 +00:00
Oleg Kalnichevski 16812c91a3 Moved blocking i/o specific classes to separate packages; optimized package structure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724967 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 12:58:34 +00:00
Oleg Kalnichevski dc86ba043d Moved code to org.apache.hc.client5 namespace
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724949 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:33:24 +00:00
Oleg Kalnichevski 1f8fe36da1 Upgraded HttpCore to version 5.0-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724315 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:43:36 +00:00
Gary D. Gregory 786da6501f Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698005 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 21:23:47 +00:00
Michael Osipov fcaa920b93 Correct spelling of method 'getPrincipal' newly introduced in AuthScheme interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695237 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 09:58:58 +00:00
Oleg Kalnichevski d3bcbedec7 AuthScheme API changes; User credentials made optional for those schemes that do not require them
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692371 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 10:00:46 +00:00
Oleg Kalnichevski fe175a845a Removed AUTH and SM classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689156 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:43:20 +00:00
Oleg Kalnichevski 2f66271de9 RFC 7231: redesign of HTTP authenticator and related classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689155 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:42:40 +00:00
Oleg Kalnichevski fb56b49465 Redesign of CredentialsProvider interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687908 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:38 +00:00
Oleg Kalnichevski 3b5990e363 Upgraded to Java 1.7
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681461 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 14:24:26 +00:00
Oleg Kalnichevski b29c819645 Removed deprecated code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1681460 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 14:12:43 +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