I have a client in keycloak for my awx(ansible tower) webpage. I need only the users from one specific keycloak group to be able to log in through
keycloak
I solved it like this:
user.hasRole(realm.getRole("yourRoleName"))