int size = values.length;
String[] originalValues = new String[size];
for (int i = 0; i < size; i++) {
IValidationResult result = this.dataValidator.validate(values[i], target, parameter, stateParameter,
actionParamValues);
if (!result.getLegal()) {
this.logger.log(HDIVErrorCodes.PARAMETER_VALUE_INCORRECT, target, parameter, values[i]);
return new ValidatorHelperResult(HDIVErrorCodes.PARAMETER_VALUE_INCORRECT);
} else {
originalValues[i] = (String) result.getResult();
}
}
if (this.hdivConfig.getConfidentiality()) {
this.addParameterToRequest(request, parameter, originalValues);