Re: bug? - AccessControlException on Restlet GAE module

2009-04-18 Thread keke
Can I simply return null in ServletCall.getSubject, because in GAE application usually relies on GAE's authentication. Cheers, Keke - We paranoid love life On Sat, Apr 18, 2009 at 10:25 PM, keke wrote: > Hi, > > Does anybody else get AccessControlException when using restlet-ga

bug? - AccessControlException on Restlet GAE module

2009-04-18 Thread keke
Hi, Does anybody else get AccessControlException when using restlet-gae? Everything goes well, unless I need to use GAE's authentication feature. After a successful login (on development env), I got following exception: java.security.AccessControlException: access denied (javax.security.auth.Auth

RE: Re: post in putUser Bookmark throws error

2009-04-18 Thread webpost
yes...it does not have acceptrepresentation method. But then why it has been implemented as PUT rather than POST? User creation should always be POSt, right? PUT is always used for Updates, right?? Thanks! -- http://restlet.tigris.org/ds/viewM

What is allowPost & allowPut?

2009-04-18 Thread Rick
Hi, I'm new to Restlet & I was going through tutorials & found that POST uses "acceptRepresentation" method, PUT uses "storerepresentation", etc. But then at one place in the examples folder, I found that the code is having allowPost & allowPut methods & it does not have any such accep