public interface IPasswordPolicy
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength()
Returns the maximum length for a password.
|
int |
getMinLength()
Returns the minimum length for a valid password.The default value is 6.
|
boolean |
isValidPassword(java.lang.String userName,
java.lang.String password)
Validates a password based on the password policy for the specified user.
|
boolean |
strongPasswordEnforced()
If strong password policy is enforced, each password will be required to contain at least one character from each group configured by admin.
|
boolean isValidPassword(java.lang.String userName,
java.lang.String password)
userName - (required) the userName for a specific userpassword - (required) the password for userNameboolean strongPasswordEnforced()
int getMaxLength()
int getMinLength()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.