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:
parent
0b9c6192a3
commit
b45f5980e0
4 changed files with 4 additions and 4 deletions
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue