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 java.util.Optional<PasswordPolicy>
from(ch.exense.commons.app.Configuration configuration)
protected java.lang.String
getDescription()
protected java.lang.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 java.lang.String getExceptionReason()
- Specified by:
getExceptionReason
in classRegexPasswordPolicy
-
getDescription
protected java.lang.String getDescription()
- Specified by:
getDescription
in classRegexPasswordPolicy
-
from
public static java.util.Optional<PasswordPolicy> from(ch.exense.commons.app.Configuration configuration)
-
-