private static Query<User> getUsernamePasswordAuthUserFind(
     final UsernamePasswordAuthUser identity) {
   return getEmailUserFind(identity.getEmail())
       .filter("linkedAccounts.providerKey", identity.getProvider());
 }
Beispiel #2
0
 public static User findByUsernamePasswordIdentity(final UsernamePasswordAuthUser identity) {
   return getEmailUserFind(identity.getEmail()).findUnique();
 }
Beispiel #3
0
 private static ExpressionList<User> getUsernamePasswordAuthUserFind(
     final UsernamePasswordAuthUser identity) {
   return getEmailUserFind(identity.getEmail());
 }
Beispiel #4
0
 private static ExpressionList<User> getUsernamePasswordAuthUserFind(
     final UsernamePasswordAuthUser identity) {
   return getEmailUserFind(identity.getEmail())
       .eq("linkedAccounts.providerKey", identity.getProvider());
 }