Hi,
I need help related password policy concept “Keycloak 21.0.2”.
I am trying to set password polices by using spring boot.
- When I use only single password policy like digits(1) its update on Keycloak.
- When I use multiple password polices then it override another one and set last one password policy in Keycloak.
- I make list of polices and tried then it set only last polices in list.
Example:
1.“realmRepresentation.setPasswordPolicy (“digits(1)”). (Working for single policy)
2.realmRepresentation.setPasswordPolicy(“digits(1),length(8),lowerCase(1),upperCase(1),specialChars(1))”)” (Its shows error)
How can I set Password Polices now ?
I just need proper way to set password policy please help.
Thank you!