You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Gunnar Sørens <gu...@gmail.com> on 2014/05/08 15:13:15 UTC
Porting from 2.0.2 to 2.5.1
Hi,
i need to port code that was written for shindig 2.0.2 to 2.5.1.
I'm facing several difficulties
* Where is org.apache.shindig.common.util.ImmediateFuture (available
in 2.0.2 but not in 2.5.1) ?
* Where are the encode/decode methods of
org.apache.shindig.auth.BlobCrypterSecurityToken?
* How to transfer the original constructor
BlobCrypterSecurityToken(BlobCrypter, String, String) to its new
version?
* Where to set the ViewerId, OwnerId, AppUrl of BlobCrypterSecurityToken?
I apologize for the bulk of questions, but I could not find any kind of
changelog or documentation. Is there something alike?
Best regards
G. S.
Re: Porting from 2.0.2 to 2.5.1
Posted by Ryan Baxter <rb...@apache.org>.
On Thu, May 8, 2014 at 9:13 AM, Gunnar Sørens <gu...@gmail.com> wrote:
> Hi,
>
> i need to port code that was written for shindig 2.0.2 to 2.5.1.
> I'm facing several difficulties
>
> * Where is org.apache.shindig.common.util.ImmediateFuture (available
> in 2.0.2 but not in 2.5.1) ?
We are now using the class in the Google commons library
com.google.common.util.concurrent.Futures.ImmediateFuture.
> * Where are the encode/decode methods of
> org.apache.shindig.auth.BlobCrypterSecurityToken?
> * How to transfer the original constructor
> BlobCrypterSecurityToken(BlobCrypter, String, String) to its new
> version?
What are the two strings in this constructor?
> * Where to set the ViewerId, OwnerId, AppUrl of BlobCrypterSecurityToken?
These are set in the constructor to BlobCrypterSecurityToken with the
Map parameter. The keys to that Map should be one of
org.apache.shindig.auth.AbstractSecurityToken.Keys.
>
> I apologize for the bulk of questions, but I could not find any kind of
> changelog or documentation. Is there something alike?
>
> Best regards
> G. S.
>