Package step.core.security.password
Class RequireNumericPolicy
- java.lang.Object
-
- step.core.security.password.PasswordPolicy
-
- step.core.security.password.RegexPasswordPolicy
-
- step.core.security.password.RequireNumericPolicy
-
public class RequireNumericPolicy extends RegexPasswordPolicy
-
-
Field Summary
-
Fields inherited from class step.core.security.password.PasswordPolicy
CONFIGURATION_PREFIX
-
-
Constructor Summary
Constructors Constructor Description RequireNumericPolicy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<PasswordPolicy>
from(ch.exense.commons.app.Configuration configuration)
protected String
getDescription()
protected String
getExceptionReason()
-
Methods inherited from class step.core.security.password.RegexPasswordPolicy
getDescriptor, matches, verify
-
Methods inherited from class step.core.security.password.PasswordPolicy
getConfigurationKey
-
-
-
-
Method Detail
-
getExceptionReason
protected String getExceptionReason()
- Specified by:
getExceptionReason
in classRegexPasswordPolicy
-
getDescription
protected String getDescription()
- Specified by:
getDescription
in classRegexPasswordPolicy
-
from
public static Optional<PasswordPolicy> from(ch.exense.commons.app.Configuration configuration)
-
-