Applying FilterTerm Rule to aggregation using IDM connector

  • 7011019
  • 14-Jul-2010
  • 19-Oct-2012

Resolution

You can setup the IDM Connector to apply a filter during aggregation by using the FilterTerm Rule.

Using the FilterTerm Rule should return a list of SPML's FilterTerm objects. Here is an example of applying this rule: 

<Source> 
<![CDATA[

      import org.openspml.message.FilterTerm;

      List filterTermList = new ArrayList();

      // Build your term(s)
      FilterTerm term = new FilterTerm(FilterTerm.OP_EQUAL);
      term.setName("hasCapabilities");
      term.setValue("true");

      filterTermList.add(term);

      return filterTermList;
 ]]>
</Source>

There are more examples at http://docs.sun.com/app/docs/doc/820-5597/ahvap?a=view.