use of com.unboundid.ldap.sdk.Filter in project oxTrust by GluuFederation.
the class ScimFilterParserService method createFilter.
public Filter createFilter(String filterString, Class clazz) throws Exception {
log.info(" createFilter() ");
Filter filter = null;
if (filterString != null && !filterString.isEmpty()) {
// Visit tree
String result = visitTree(filterString, clazz);
filter = Filter.create(result);
} else {
throw new IllegalArgumentException("Filter string is null or empty");
}
return filter;
}
Aggregations