@Override
 public boolean isPasswordValid(User user, String password) {
   try {
     Vertex userVertex = findByIdUserVertex(user.getUserId());
     return UserPasswordUtil.validatePassword(
         password,
         UserVisalloProperties.PASSWORD_SALT.getPropertyValue(userVertex),
         UserVisalloProperties.PASSWORD_HASH.getPropertyValue(userVertex));
   } catch (Exception ex) {
     throw new RuntimeException("error validating password", ex);
   }
 }