Package step.core.security.password
Class PasswordPolicy
- java.lang.Object
-
- step.core.security.password.PasswordPolicy
-
- Direct Known Subclasses:
RegexPasswordPolicy
public abstract class PasswordPolicy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGURATION_PREFIX
-
Constructor Summary
Constructors Constructor Description PasswordPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static String
getConfigurationKey(String suffix)
abstract PasswordPolicyDescriptor
getDescriptor()
abstract void
verify(String password)
-
-
-
Field Detail
-
CONFIGURATION_PREFIX
public static String CONFIGURATION_PREFIX
-
-
Method Detail
-
verify
public abstract void verify(String password) throws PasswordPolicyViolation
- Throws:
PasswordPolicyViolation
-
getDescriptor
public abstract PasswordPolicyDescriptor getDescriptor()
-
-