public boolean isAccountExpired(){
  DEBUG.message("in AMAccountLockout::isAccountExpired");
  String accountLife=loginState.getAccountLife();
  if (accountLife == null) {
    if (DEBUG.messageEnabled()) {
      DEBUG.message("EXIT accountLife is null :" + accountLife);
    }
    return false;
  }
  Date exprDate=Locale.parseNormalizedDateString(accountLife);
  if (DEBUG.messageEnabled()) {
    DEBUG.message("exprDate = " + exprDate);
  }
  if (exprDate != null) {
    return exprDate.before(newDate());
  }
  return false;
}

public boolean isAccountExpired ( ) { DEBUG . message ( "in AMAccountLockout::isAccountExpired" ) ; String accountLife = loginState . getAccountLife ( ) ; if ( accountLife == null ) { if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "EXIT accountLife is null :" + accountLife ) ; } return false ; } Date exprDate = Locale . parseNormalizedDateString ( accountLife ) ; if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "exprDate = " + exprDate ) ; } if ( exprDate != null ) { return exprDate . before ( newDate ( ) ) ; } return false ; }
checks if user account is expired .
