On Sat, Jan 7, 2012 at 5:14 PM, Nikolay Elenkov <nikolay.elen...@gmail.com>wrote:
> On Sun, Jan 8, 2012 at 1:08 AM, John Goche <johngoch...@googlemail.com> > wrote: > > > I am using google App Engine. I need my users to authenticate > > prior to being able to access the JDO objects on my servlet. Once > > authenticated I need to match their usernames with fields in my > > JDO POJOs to see whether they can perform certain operations > > or not. How can I achieve this? I'm somewhat lost because all > > the examples I am finding are not android specific. > > > > There is not much Android-specific about this. If you are using > Google accounts for authentication, you can use the AccountManager > on Android to get an access token (there are examples on how to this). > If not, there is nothing Android specific -- just have them send the > username and password, token, etc. over SSL, authenticate, do your > thing on the server side. > > So, how are you authenticating users? > Hi Nikolay, Now that you have mentioned AccountManager I have found the following site: http://gnuc.in/resources/archives/1404 I don't know much of what this token is or what it is for. At the moment I am not authenticating users which is a big problem. I appreciate any more pointers. BTW, if I wanted to use OpenID instead of Google accounts would there be much to change? Thanks, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en