Hi, using openid domain seems like a good idea for namespaces. My problem is that I use Django's authentication system not Google's. And with Django the users are stored in datastore so in order to get the namespace I have to access the datastore which is impossible because I don't know the proper namespace :) Right now I'm thinking of sessions or secure cookies. Is it a good idea? I could go back to Google User API? butI use Django because I like the features like groups, permission or messages....
Anyway, getAuthDomain is really useful for namespaces with Google Apps. I wonder why it is not directly in Namespace API documentation. Thank you for your answer. On 25 led, 23:36, yuvi <[email protected]> wrote: > Hi, > I'm using java ... > If you plan a multi-tenant application used by many Google Apps > Domains then the Namespace is useful > to separate between different Domains data. In case you use openid for > authentication, the java API getAuthDomain() > provide a domain unique string that can be good for Namespace . > > Note: you need to both read and write using Namespace > > http://code.google.com/appengine/docs/java/javadoc/com/google/appengi... > > On Jan 25, 2:46 pm, tobik <[email protected]> wrote: > > > According to the documentation: "The following code sample shows you > > how to set the current namespace to the Google Apps domain that was > > used to _map_ the URL." > > > Does that mean, that google_apps_namespace() returns used Google Apps > > only when the app is really mapped to the domain? Something like > > myapp.example.com. I just need to confirm that (simple yes or no) > > because I don't have the permission to map to url right now. > > > I deployed the official Namespace example (guestbook_namespace) and it > > doesn't work, google_apps_namespace() returns an empty string when I > > try to access it via myapp.appspot.com. The app is properly deployed > > to my Google Apps domain though. > > > Thanks for your help. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
