pluto-container/src/main/java/org/apache/pluto/container/om/portlet/impl/JSR362ConfigurationProcessor.java [317:338]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   private void handleFilterMappings(List<FilterMappingType> args) {
      for (FilterMappingType item : args) {

         // validate data
         String fname = item.getFilterName();
         if ((fname == null) || (item.getPortletName().size() == 0)) {
            String warning = "Bad FilterMapping definition. Filter name or portlet name is null.";
            LOG.warn(warning);
            throw new IllegalArgumentException(warning);
         }

         // set up the filter mapping
         FilterMapping newitem = new FilterMappingImpl(fname);
         for (PortletNameType pnt : item.getPortletName()) {
            newitem.addPortletName(pnt.getValue());
         }

         // add it to the model
         pad.addFilterMapping(newitem);

      }
   }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pluto-container/src/main/java/org/apache/pluto/container/om/portlet/impl/JSR286ConfigurationProcessor.java [286:307]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   private void handleFilterMappings(List<FilterMappingType> args) {
      for (FilterMappingType item : args) {

         // validate data
         String fname = item.getFilterName();
         if ((fname == null) || (item.getPortletName().size() == 0)) {
            String warning = "Bad FilterMapping definition. Filter name or portlet name is null.";
            LOG.warn(warning);
            throw new IllegalArgumentException(warning);
         }
         
         // set up the filter mapping
         FilterMapping newitem = new FilterMappingImpl(fname);
         for (PortletNameType pnt : item.getPortletName()) {
            newitem.addPortletName(pnt.getValue());
         }

         // add it to the model
         pad.addFilterMapping(newitem);

      }
   }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



