Java CS supports classifying search filters. A connector can signal the Java CS framework the level of filter awareness it has by returning a collection of enum values, for example:
public enum FilterAware
{
PRESENCE,
EQUALITY,
APPROXIMATE,
GREATER_THAN_OR_EQUAL,
LESS_THAN_OR_EQUAL,
STARTS_WITH,
ENDS_WITH,
CONTAINS,
CONJUNCTION,
DISJUNCTION,
NEGATION,
MULTIVALUED_ATTRIBUTE
}
You can use the isConnectorFilterable metadata to trigger the Java CS framework to post-filter search results when the connector is unable filter the search results.
Note: For more information, see the Java CS Javadoc in the CA Identity Manager bookshelf
Connectors can override the following method:
public Collection<? extends FilterAware> getFilterAwareness()
Any combination of types from the previous can be returned. When a filter is encountered that is more complex then the given connector supports, the Java CS post-filters the search automatically.
|
Copyright © 2014 CA.
All rights reserved.
|
|