ryan-alfi / opensocial-java-client

Automatically exported from code.google.com/p/opensocial-java-client
Apache License 2.0
0 stars 0 forks source link

Adapt to new Base64 contract #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Right now the auth code is broken with apache commons codec 1.4. See
https://issues.apache.org/jira/browse/CODEC-89.

You might want to change OAuthScheme.getHttpMessage

from

byte[] encodedHash = new Base64().encode(hash);

to

byte[] encodedHash = Base64.encodeBase64(hash, false);

Original issue reported on code.google.com by Daniel.D...@gmail.com on 14 Apr 2010 at 4:32