public void before(PropertyInfoRestRep oldProps,PropertyInfoRestRep newProps){
  if (!isPropertyChanged(oldProps,newProps,_propertyName)) {
    return;
  }
  String newValue=newProps.getProperty(_propertyName);
  ArgumentValidator.checkRange(Integer.parseInt(newValue),Constants.MIN_AUTH_LOCKOUT_TIME_IN_MINUTES,Constants.MAX_AUTH_LOCKOUT_TIME_IN_MINUTES,_propertyName);
}

public void before ( PropertyInfoRestRep oldProps , PropertyInfoRestRep newProps ) { if ( ! isPropertyChanged ( oldProps , newProps , _propertyName ) ) { return ; } String newValue = newProps . getProperty ( _propertyName ) ; ArgumentValidator . checkRange ( Integer . parseInt ( newValue ) , Constants . MIN_AUTH_LOCKOUT_TIME_IN_MINUTES , Constants . MAX_AUTH_LOCKOUT_TIME_IN_MINUTES , _propertyName ) ; }
check if the value is between range [ 0 , 20 ] , if not fail the property update .
