I am customizing Keycloak. Now I want to get a list with all users, that have not set a password yet. In the web interface I can check if a user has a password, like this (no password set):
What I want is something like this:
session.users()
.getUsersStream(session.getContext().getRealm())
.filter(userModel -> user.isPasswordSet() == false)
...
Is there a functionality like isPasswordSet(), so that I can retrieve a list of all users without a password? Thanks.





