Interface ExecutableSearchFilter
- All Superinterfaces:
ExecutableSearch
A search filter that can be executed against an LDAP to fetch results.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(SearchExecutor executor, ConnectionFactory factory) Performs an LDAP search and returns the results.Returns the search filter associated with this executable search filter.Methods inherited from interface net.shibboleth.idp.attribute.resolver.dc.ExecutableSearch
getResultCacheKey
-
Method Details
-
execute
@Nonnull SearchResult execute(@Nonnull SearchExecutor executor, @Nonnull ConnectionFactory factory) throws LdapException Performs an LDAP search and returns the results.- Parameters:
executor
- configured to perform searchesfactory
- ready-to-use connection factory- Returns:
- the result of this search filter
- Throws:
LdapException
- thrown if there is an error performing the search
-
getSearchFilter
Returns the search filter associated with this executable search filter.- Returns:
- search filter
-