Class RuleFilter
java.lang.Object
ch.tocco.nice2.persist.security.api.provider.RuleFilter
Utility to filter
Rules
by different predicates.-
Method Summary
Modifier and TypeMethodDescriptionbyPermission
(Permission... permissions) bySelector
(Selector requiredSelector) bySubjectIncluded
(String subjectName) void
boolean
isEmpty()
static RuleFilter
static RuleFilter
oneOfSubjectIncluded
(List<String> subjectNames) toList()
-
Method Details
-
of
-
of
-
byEntity
-
bySelector
-
byPermission
-
removeRulesWithCondition
-
removeNegativeRules
-
byAllSubjectsIncluded
-
bySubjectIncluded
-
oneOfSubjectIncluded
-
forEach
-
isEmpty
public boolean isEmpty() -
toList
-