users@jersey.java.net

[Jersey] Re: UnsupportedSignatureMethodException: HMAC-SHA1

From: Miroslav Fuksa <miroslav.fuksa_at_oracle.com>
Date: Mon, 5 May 2014 11:12:48 +0200

Hi,

Jersey 1.x supports HMAC_SHA1 for OAuth 1. This exception occurs if the class with name "HMAC_SHA1” cannot be found using META-INF/services lookup. Do you have the jar "oauth-signature-*.jar” on the classpath? Which jersey version do you use?

Can you also try to use different signature method (e.g. PLAINTEXT)?

Mira

On May 2, 2014, at 5:11 PM, mohamed midulaj <midulaj_at_gmail.com> wrote:

> while executing OAuth program with Jersey iam getting error as
> Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException:
> com.sun.jersey.oauth.signature.UnsupportedSignatureMethodException:
> HMAC-SHA1
>
> can some body give a solution for this ,
>
>
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/UnsupportedSignatureMethodException-HMAC-SHA1-tp7582243.html
> Sent from the Jersey mailing list archive at Nabble.com.