Password Policies Manipulation By Group wise

Can we configure password policies for a particular group (containing multiple users and roles)? I have found that we can have one password policy at a time for a realm, but i want to configure it for different groups in a single realm.
I have the case for two types of user groups, on the basis of which i want to configure different password policies, one doesn’t have any validation and another having some validations but they all are in a single realm.
How can i achieve this?