예제 #1
0
 private static Query<User> getAuthUserFind(final AuthUserIdentity identity) {
   return MorphiaObject.datastore
       .createQuery((User.class))
       .filter("active =", true)
       .filter("linkedAccounts.providerUserId", identity.getId())
       .filter("linkedAccounts.providerKey", identity.getProvider());
 }
예제 #2
0
 private static ExpressionList<User> getAuthUserFind(final AuthUserIdentity identity) {
   return find.where().eq("active", true).eq("password", identity.getId());
 }
예제 #3
0
 private static ExpressionList<User> getAuthUserFind(final AuthUserIdentity identity) {
   return find.where()
       .eq("active", true)
       .eq("linkedAccounts.providerUserId", identity.getId())
       .eq("linkedAccounts.providerKey", identity.getProvider());
 }