Martin, that worked great.  Once again, thanks so much for your help.

--------------------------
John Wismar
Alldata Technology
916-478-3296


> -----Original Message-----
> From: Martin Svensson [mailto:[email protected]]
> Sent: Thursday, July 21, 2011 11:23 AM
> To: [email protected]
> Subject: RE: OAuth extension in Incubator
> 
> here is a nifty class that caches your token.
> 
> Just do something like this
> 
> OAuthProxy yourProxy = new ....
> Restlet yourResource = new ....
> 
> yourProxy.setNext(yourResource)
> 
> UserCache uc = new UserCache(yourProxy, yourResource)
> 
> The UserCache will route directly to yourResource if it finds an existing user
> (using cookies)
> 
> //martin
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId
> =2800175

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2800274

Reply via email to