code: public Object sanitize(String key, Object value) {
  		if (value == null) {
  			return null;
  		}
  		for (Pattern pattern : this.keysToSanitize) {
  			if (pattern.matcher(key).matches()) {
  				return "******";
  			}
  		}
  		return value;
  	}
docs: Sanitize the given value if necessary.
  @param key the key to sanitize
  @param value the value
  @return the potentially sanitized value