Hi,
Could you please file an issue and let me know how to reproduce it?
(what kind of post you are trying to send and how the oauth parameters
look like)
In case you want to try to debug it yourself, you can try adding some
logging (or breakpoints) to HMAC_SHA1.java (in oauth-signature module) -
in the "sign()" method (lines 76+) - elements is the string to be signed.
Martin
On 27.5.2011 20:03, fff907_at_yahoo.ca wrote:
> I am using the Jersey oauth libraries for an implementation of 2-legged
> oauth. However, I am having problems with signatures on messages that
> I are POSTed. I have not had any errors with GET methods but I cannot
> seem to find a way for a POST to generate a correct signature.
>
> I have written two tools, one in PHP and one Python to check the
> signature and both of the tools generate a signature that matches what
> the server (PHP) generates on the server side to compare. I have not
> been able to figure what is happening in the Jersey oauth code to
> generate the signature but the signature does not match any other tool
> I have used. I did see a bug report:
> http://java.net/jira/browse/JERSEY-433
>
> which looks suspiciously like my problem so I created a POST that does
> not have any characters that need extra encoding but still have the
> same problem so I don't believe that ticket address my problem but it
> does sound related. Being new to Jersey I am not sure how to log what
> is happening in detail when the signature is being built, I would
> really like to see what the base string that it generates. Is there a
> way to log that?