Class AuthorizableFilterPredicate
- java.lang.Object
-
- com.adobe.granite.security.user.util.AuthorizableFilterPredicate
-
- All Implemented Interfaces:
Predicate
public class AuthorizableFilterPredicate extends Object implements Predicate
Predicate implementation that returns true if the given object is anAuthorizablethat has an ID or a given name that matches a certain filter.
-
-
Constructor Summary
Constructors Constructor Description AuthorizableFilterPredicate(String filter)Creates anAuthorizableFilterPredicateobject, using the given filter if it's not blank.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate(Object object)Use the specified parameter to perform a test that returns true or false.StringgetFilter()
-
-
-
Constructor Detail
-
AuthorizableFilterPredicate
public AuthorizableFilterPredicate(String filter)
Creates anAuthorizableFilterPredicateobject, using the given filter if it's not blank.- Parameters:
filter- to use for matching against an authorizable ID and given name
-
-