|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.passwordrules.BehavioralRule | +--com.ibm.passwordrules.standard.ValidityTimeConstraint
The system doesn't enforce this rule at this moment.
Field Summary | |
---|---|
static java.lang.String |
INCOMPATIBLE_MAX_MIN
Constant representing a nmessage key in a property file |
Constructor Summary | |
---|---|
ValidityTimeConstraint()
Default constructor |
|
ValidityTimeConstraint(long minTime,
long maxTime)
Constructor accepting minimum and maximum parameters. |
Method Summary | |
---|---|
long |
getMaxTime()
Obtain the time until which the password is valid. |
long |
getMinTime()
Obtain the time from which the password is valid. |
boolean |
join(Rule rule)
Try to join the specified rule with this one. |
Methods inherited from class com.ibm.passwordrules.BehavioralRule |
---|
constrain, getParameter, setParameter, validate, validateSafe |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INCOMPATIBLE_MAX_MIN
Constructor Detail |
public ValidityTimeConstraint()
public ValidityTimeConstraint(long minTime, long maxTime)
minTime
- long value representing the time in milliseconds from which the password is valid.maxTime
- long value representing the time in milliseconds until which the password is valid.Method Detail |
public long getMaxTime()
public long getMinTime()
public boolean join(Rule rule) throws IncompatibleRulesException
join
in interface Rule
join
in class BehavioralRule
rule
- The rule to be joined with this one.
IncompatibleRulesException
- Thrown when given rule cannot be joined because it is not compatible.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |