...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<bean id="allAuthoritiesSearch" class="org.pentaho.platform.plugin.services.security.userrole.ldap.search.UnionizingLdapSearch"> <property name="searches"> <set> <bean class="org.pentaho.platform.plugin.services.security.userrole.ldap.search.GenericLdapSearch"> <!-- omitted for brevity; notice that the id has been removed for this bean --> </bean> </set> </property> </beanbean> |
Now we have the ability to add other searches and UnionizingLdapSearch
will automatically merge all the search results. Here's where StaticListLdapSearch
comes in. We'll add that as the "other" search. As stated before, it simply returns the list that is set as its staticList
property. Shown below is how a StaticListLdapSearch
would be used alone.
...