Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 86338 invoked from network); 9 Jun 2010 08:29:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Jun 2010 08:29:18 -0000 Received: (qmail 75926 invoked by uid 500); 9 Jun 2010 08:29:18 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 75642 invoked by uid 500); 9 Jun 2010 08:29:15 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 75626 invoked by uid 99); 9 Jun 2010 08:29:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 08:29:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of charroch@gmail.com designates 209.85.161.51 as permitted sender) Received: from [209.85.161.51] (HELO mail-fx0-f51.google.com) (209.85.161.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jun 2010 08:29:07 +0000 Received: by fxm18 with SMTP id 18so3450001fxm.10 for ; Wed, 09 Jun 2010 01:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=s+E3h8IxBozP2tQGeo7vhZOY2FEVllVIWcR+LgxJlm8=; b=IE+YlnlVuvnGfUdKpgS10FiWn96OyLQOFk0K7nwM7FBygK83c7Ayen8rCS/ndIggVg 6Nwx7JkV3d05HB1ug3IFJsWfa8rqpAiR/vZ/iM21drYM3dY0kR0t0EgUXkHpCFsgebeR waMWY0dx0MsBqH081q+h51TBjWsivmI1A6dLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=L91kMvCBGOqYRHkwJcPaC5mIBqp8OGOZ2J0/DDmxe15i9gMf37JOINiYsv2hUHm9Em 4CrAyaZX94m6g/VO4PxNz1XSF8fPsNKz1nZmDmOKB3nqwlGGH7SLS2S8kS+r37py4XQ0 zUJM2z0sPK/als8jOemNzpPOZ+Yyxy7fvTUrM= MIME-Version: 1.0 Received: by 10.223.147.209 with SMTP id m17mr2470347fav.11.1276072126351; Wed, 09 Jun 2010 01:28:46 -0700 (PDT) Received: by 10.223.107.130 with HTTP; Wed, 9 Jun 2010 01:28:46 -0700 (PDT) In-Reply-To: <1276037172.6600.204.camel@tim-desktop> References: <1276037172.6600.204.camel@tim-desktop> Date: Wed, 9 Jun 2010 09:28:46 +0100 Message-ID: Subject: Re: oauth in 4.x? From: Carl-Gustaf Harroch To: HttpClient User Discussion , tjulien@limewire.com Content-Type: text/plain; charset=ISO-8859-1 yes. I use an request interceptor for all requests in conjunction with signpost. I believe there has been some work making a AuthScheme for OAuth but never used it myself. http://github.com/novoda/RESTProvider/blob/master/RESTProvider/src/main/java/novoda/rest/interceptors/OAuthInterceptor.java And then use it with: interceptor = new OAuthInterceptor(pref.getConsumerKey(), pref .getConsumerSecret()); httpClient.addRequestInterceptor(interceptor); ./C On 8 June 2010 23:46, Tim Julien wrote: > Has anyone done any work to add OAuth to httpclient 4.x? > > -Tim > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org