Make password policy identifiers public

If a password policy should be modified prgorammatically the constant
key identifiers to set the values should be accessible globally
This commit is contained in:
Captain-P-Goldfish 2019-09-16 08:19:22 +02:00 committed by Stian Thorgersen
parent 0b9c6192a3
commit b45f5980e0
4 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ import org.keycloak.models.KeycloakSessionFactory;
*/
public class DigitsPasswordPolicyProviderFactory implements PasswordPolicyProviderFactory {
static final String ID = "digits";
public static final String ID = "digits";
@Override
public String getId() {

View file

@ -26,7 +26,7 @@ import org.keycloak.models.KeycloakSessionFactory;
*/
public class LengthPasswordPolicyProviderFactory implements PasswordPolicyProviderFactory {
static final String ID = "length";
public static final String ID = "length";
@Override
public String getId() {

View file

@ -26,7 +26,7 @@ import org.keycloak.models.KeycloakSessionFactory;
*/
public class NotUsernamePasswordPolicyProviderFactory implements PasswordPolicyProviderFactory {
static final String ID = "notUsername";
public static final String ID = "notUsername";
@Override
public String getId() {

View file

@ -26,7 +26,7 @@ import org.keycloak.models.KeycloakSessionFactory;
*/
public class RegexPatternsPasswordPolicyProviderFactory implements PasswordPolicyProviderFactory {
static final String ID = "regexPattern";
public static final String ID = "regexPattern";
@Override
public String getId() {