private void init() {
   XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader(getConfiguration());
   includeGlobal = reader.readBoolean(INCLUDE_GLOBAL, true);
   includeProjectSpecific = reader.readBoolean(INCLUDE_PROJECT_SPECIFIC, true);
   assertionSpecificExposureList =
       StringUtils.toStringList(reader.readStrings(ASSERTION_SPECIFIC_EXPOSURE_LIST));
   extractTokenTable();
 }
Beispiel #2
0
  // Used to save values from table GUI components
  protected List<StringToStringMap> readTableValues(
      XmlObjectConfigurationReader reader, String parameterName) {
    List<StringToStringMap> result = new ArrayList<StringToStringMap>();
    String[] tableValues = reader.readStrings(parameterName);
    if (tableValues != null && tableValues.length > 0) {
      for (String tableValue : tableValues) {
        result.add(StringToStringMap.fromXml(tableValue));
      }
    }

    return result;
  }