Re: Does the OAuth2 extension support "client-side"/"user agent"/"implicit grant" flow?

2013-01-18 Thread Kristoffer Gronowski
Hi Richard! Yes it does but it might be a bit early draft version. I tested it a while ago and it worked fine but please let me know if you have any problems with it. It you like I could send you the test html file I used !? Regards Kristoffer On Fri, Jan 18, 2013 at 5:12 AM, Jérôme Louvel wro

RE: Jackson extension performance question

2013-01-18 Thread Tim Peierls
Sorry, that link should be: http://tembrel.blogspot.com/2012/03/restlet-guice-extension-considered.html -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3044419

RE: Jackson extension performance question

2013-01-18 Thread Tim Peierls
It's much better to re-use a single ObjectMapper instance, or a small set of differently configured ObjectMapper instances. Here's an example of using dependency injection to provide a single ObjectMapper that is then re-used by JacksonRepresentations created by a JSON converter: https://githu

Re: Does the OAuth2 extension support "client-side"/"user agent"/"implicit grant" flow?

2013-01-18 Thread Jerome Louvel
Hi Richard, I'm not sure either but Kristoffer (in copy) should be able to tell us. We should at least make sure that the documentation is clear about the flows supported. Do you mind entering a RFE in GitHub to suppor this flow and improve docs? Improving the completeness of this extension is a

Jackson extension performance question

2013-01-18 Thread Pier Luigi Rocca
Dear Restlet mailing list, Do you think that the JacksonRepresentation could be expensive in terms of performance if I create one inside my ServerResource classes? Because I have very little knowledge of Restlet internatls, I don't know if a new ServerResource is create every time a client connect