generator-jhipster-quarkus
generator-jhipster-quarkus copied to clipboard
Avoid password and resetKey column to be sorted by the /users API
related to https://github.com/jhipster/generator-jhipster/pull/12327
Check if this could be done for Quarkus too. Security fix.
we need to implement sorting on users first. cc @danielpetisme
example:
public static List<User> findAllByLoginNot(Page page, String login, String column, String order) {
return find("login != ?1", Sort.by(column, Sort.Direction.valueOf(order))).page(page).list();
}
I would build the sort object before invoking the method (just as the Page object).