[google-appengine] Re: Why can not login if we insert the record manually into real Online Google Datastore, but can if we insert record via our system?

2016-01-18 Thread Chad Vincent
Where is it failing? Is it failing to load the user, or failing to validate the password? Is it possible your hash+salt for the password isn't getting set properly when you set via console? (Is it deriving the salt from the app ID or namespace somehow?) On Sunday, January 17, 2016 at

[google-appengine] Re: Why can not login if we insert the record manually into real Online Google Datastore, but can if we insert record via our system?

2016-01-17 Thread Hung Ha
You can see the getUser function. Note that, the userNameis also the Key Name public static User getUser(String userName){ Key k = KeyFactory.createKey(personKey, "User", userName); try { Entity userEntity=datastore.get(k); //Entity