Interface EnhancedRowValidator

All Superinterfaces:
RowValidator

public interface EnhancedRowValidator extends RowValidator
Similar to RowValidator but providing additional context data in the validate method to allow for more complex validation.
Since:
6.6
  • Method Details

    • validate

      void validate(FieldList fieldsInRow, Configuration configuration) throws ValidationException
      Providing the same functionality as RowValidator.validate(org.sourceid.saml20.adapter.conf.FieldList) but the configuration parameter is also provided to allow for intra-row validation (i.e. duplicate entries) or validation against other input data. However, please ensure that validation errors reported here are only for things that can be corrected by fixing the values in the given row.
      Parameters:
      fieldsInRow - a FieldList containing all the Fields (name and value) in the row in order.
      configuration - the Configureation object popululated by the input data
      Throws:
      ValidationException - if the row of fields is inherently invalid or with respect to the rest of the configuration.
      Since:
      6.6