Ok, I think I did that first step ok, but I can´t test it yet. When I try to access ´http://localhost:8080/primata/social/rest/test´ I get this error:
HTTP Status 401 - The request did not have a proper security token nor oauth message and unauthenticated requests are not allowedI´m not familiar with OAuth yet, so maybe I´m doing something terribly wrong. Also, I didn´t put everything from the shindig web.xml in my own web.xml - for now, I´m trying to run only the RESTApi, I´m not worried with gadgets for the time being. Is there some documentation on how I should proceed when it comes to authentication and authorization? thank you! []s, On Tue, Oct 14, 2008 at 4:29 PM, Ian Boston <[EMAIL PROTECTED]> wrote: > To bind your own custom implementations of Person, Activity and Data > services you still use a Guice Module with the lines you mention, and you > add that module to the list of modules in the web.xml (separated by a ; ) > > The difference now is that we have specified the default implementations of > these modules in the SPI interfaces with the ImplementedBy annotation on the > class. This annotation is overridden by a guice module if you choose to do > so. > > HTH > Ian > > > On 14 Oct 2008, at 15:15, Paulo Siqueira wrote: > > Hi again, >> >> Following the (outdated) tutorial, I´m trying to specify my implementation >> of the Person / Activity / Data components. Where do I do this now? >> >> Previously, it was done by >> >> bind(PeopleService.class).to(BasicPeopleService.class); >> bind(DataService.class).to(BasicDataService.class); >> bind(ActivitiesService.class).to(BasicActivitiesService.class); >> >> >> in the SocialApiGuiceModule. But this doesn´t seem to be true anymore. So, >> where it is done now? >> >> Thank you! >> >> [], >> >> On Wed, Oct 8, 2008 at 1:42 PM, Christian Schalk <[EMAIL PROTECTED]> >> wrote: >> >> Ha ha! Sorry for sleeping while all this discussion was going on. :-) >>> Yes, you are correct this is a tutorial that I put together last Spring >>> for >>> Google IO and for a JavaOne presentation. >>> >>> Since a lot of changes went into Shindig over the summer, I can update it >>> to >>> be current. From a conceptual point of view, the work is essentially the >>> same, which is to provide an implementation for the 3 services >>> (People,Activities, Data). >>> >>> I'll see if I can get it updated fairly soon and will be in touch. >>> -Chris >>> >>> >>> On Wed, Oct 8, 2008 at 8:12 AM, Chirag Shah <[EMAIL PROTECTED]> >>> wrote: >>> >>> Is this the blog you mentioned? I tried to find a post related to >>>>> >>>> shindig, >>>> >>>>> but couldn't find it... >>>>> >>>> >>>> I think this is the blog post: >>>> >>>> >>>> http://chrisschalk.com/shindig_docs/shindig_sql_tutorial/ >>> shindig_data_tutorials.html >>> >>>> >>>> On Wed, Oct 8, 2008 at 7:34 AM, Paulo Siqueira < >>>> [EMAIL PROTECTED] >>>> >>>> wrote: >>>> >>>>> >>>>>> Christian Schalk wrote some nice how-to's for the java's data >>>>>> >>>>> intergration >>>> >>>>> (indeed it's implementing the person, activity and app data classes), >>>>>> however I don't have the URL's handy ... Christian could you link them >>>>>> >>>>> for >>>> >>>>> us by any chance? >>>>>> >>>>>> >>>>> Is this the blog you mentioned? I tried to find a post related to >>>>> >>>> shindig, >>>> >>>>> but couldn't find it... >>>>> >>>>> http://chrisschalk.com/blog/ >>>>> >>>>> []s, >>>>> >>>>> -- >>>>> Paulo Renato C. Siqueira >>>>> http://www.jcranky.com >>>>> >>>>> >>>> >>>> >>>> -- >>>> Chirag Shah // (214) - 542 - 3385 (Mobile) >>>> >>>> >>> >>> >>> -- >>> Chris Schalk, Google Developer Advocate >>> >>> >> >> >> -- >> Paulo Renato C. Siqueira >> http://www.jcranky.com >> > > -- Paulo Renato C. Siqueira http://www.jcranky.com

