| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.passwordrules.LexicalRule
public abstract class LexicalRule
Abstract base class for Rule implementations that provide validation of password's lexical content.
| Field Summary | |
|---|---|
static int | 
DEFAULT_MAX_SEQUENTIAL_CHARACTERS
Constant for default maximum sequential characters  | 
static int | 
LOWER_CASE_ONLY
Constant for specifying that only lower case characters are to be used in password  | 
static int | 
UPPER_CASE_ONLY
Constant for specifying that only upper case characters are to be used in password  | 
| Constructor Summary | |
|---|---|
LexicalRule()
Default constructor  | 
|
| Method Summary | |
|---|---|
 void | 
constrain(PasswordGenerator generator)
Some Rule implementing classes will not have a constraint to impose, in which case method in this class will be called and will do nothing.  | 
 java.lang.String | 
getParameter()
This Rule interface method in is not valid in the context of standard rule classes.  | 
 void | 
setParameter(java.lang.String parameter)
This Rule interface method in is not valid in the context of standard rule classes.  | 
 boolean | 
validateSafe(java.lang.String password,
             ValidationInfo validationInfo)
Validate the given password using the given validation info.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface com.ibm.passwordrules.Rule | 
|---|
join, validate | 
| Field Detail | 
|---|
public static final int DEFAULT_MAX_SEQUENTIAL_CHARACTERS
public static final int UPPER_CASE_ONLY
public static final int LOWER_CASE_ONLY
| Constructor Detail | 
|---|
public LexicalRule()
| Method Detail | 
|---|
public void constrain(PasswordGenerator generator)
constrain in interface Rulegenerator - including a character template to be constrained.
public boolean validateSafe(java.lang.String password,
                            ValidationInfo validationInfo)
validateSafe in interface Rulepassword - Password to validate.validationInfo - contains contextual information about the password being validated.
public java.lang.String getParameter()
getParameter in interface Rulepublic void setParameter(java.lang.String parameter)
setParameter in interface Ruleparameter - String value of the parameter.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||