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

Attachment: UserCache.java
Description: Binary data

Reply via email to