public static void validateFormValues(final Configuration configuration,final Map<FormConfiguration,String> formValues,final Locale locale) throws PwmUnrecoverableException, PwmDataValidationException {
  for (  final FormConfiguration formItem : formValues.keySet()) {
    final String value=formValues.get(formItem);
    formItem.checkValue(configuration,value,locale);
  }
}

public static void validateFormValues ( final Configuration configuration , final Map < FormConfiguration , String > formValues , final Locale locale ) throws PwmUnrecoverableException , PwmDataValidationException { for ( final FormConfiguration formItem : formValues . keySet ( ) ) { final String value = formValues . get ( formItem ) ; formItem . checkValue ( configuration , value , locale ) ; } }
validates each of the parameters in the supplied map against the vales in the embedded config and checks to make sure the paramconfig value meets the requirements of the paramconfig itself .
