Thank's Seleronm, the AuthSubUtil was my missing part to fix my problem.
Regards Stephan On 26 Mrz., 08:53, seleronm <[email protected]> wrote: > Hi, > > Though I am not an expert. > If you use not UserService but > [com.google.gdata.client.http.AuthSubUtil] the problem might be > solved. > > I think that this link is > useful.http://code.google.com/intl/us/apis/gdata/docs/auth/authsub.html > > Please try. > thanks. > > > Hi GAEJ Experts, > > > I like to access (Read/Write) a GoogleCalendarfrom the Google App > > Engine. > > To learn how it works I have Up my Java Google App Application and on > > my PC a smallCalendartest program. > > Now I need the missing link how to combine both application's. > > In my GAEJ servlet I get the current user with : > > > UserService userService = UserServiceFactory.getUserService(); > > User user = userService.getCurrentUser(); > > (after successfully login ) > > > And have access to the user Nickname, email address ... > > > To access thecalendarI need the user and password. > > CalendarService myService = new CalendarService( "exampleCo- > > exampleApp-1"); > > myService.setUserCredentials( myAccount, myPassword ); > > > I understand that I have no access to the User Password. For this > > reason I think there must be a other way around to access the > > usercalendar's. > > I can't believe there is no other way to access the CalendarService ? > > Any Idea ? > > Magic Cookies ? > > > Regards > > > Stephan -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
