org.sourceid.saml20.adapter.gui.validation
Interface ConfigurationValidator


public interface ConfigurationValidator

An interface that allows for custom validation of all the Fields and tables that compose the configuration of the adapter. Full configuration validation occurs after individual field and table row validation take place and only if no errors are reported during those validation processes.

A AdapterConfigurationGuiDescriptor can have 0..n ConfigurationValidators that will be invoked in order until ValidationException is thrown or all ConfigurationValidators have been executed.

Author:
Brian Campbell

Method Summary
 void validate(Configuration configuration)
          Implementations of this method can perform any necessary validation on all the configuration values for an adapter.
 

Method Detail

validate

void validate(Configuration configuration)
              throws ValidationException
Implementations of this method can perform any necessary validation on all the configuration values for an adapter. This is generally useful when there are dependencies between fields and tables in an adapter.

Parameters:
configuration - a Configuration object populated by user entered values from the GUI.
Throws:
ValidationException - if the configuration is invalid.


Copyright 2007 Ping Identity Corp. All rights reserved.