Class PermTripleFilter
java.lang.Object
org.apache.jena.permissions.utils.PermTripleFilter
A filter for to filter ExtendedIterators on Triples. This filter removes any
triple that the user can not perform all the actions on.
-
Constructor Summary
ConstructorsConstructorDescriptionPermTripleFilter
(Collection<SecurityEvaluator.Action> actions, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermTripleFilter
(Collection<SecurityEvaluator.Action> actions, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermTripleFilter
(SecurityEvaluator.Action[] actions, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermTripleFilter
(SecurityEvaluator.Action[] actions, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermTripleFilter
(SecurityEvaluator.Action action, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermTripleFilter
(SecurityEvaluator.Action action, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameter -
Method Summary
-
Constructor Details
-
PermTripleFilter
Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
action
- The action the user must be permitted to perform.securedItem
- The secured item that secures this iterator.
-
PermTripleFilter
public PermTripleFilter(SecurityEvaluator.Action action, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
action
- The action the user must be permitted to perform.securedItem
- The secured item that secures this iterator.evaluator
- The security evaluator to evaluate the security queries.
-
PermTripleFilter
Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
actions
- The actions the user must be permitted to perform.securedItem
- The secured item that secures this iterator.
-
PermTripleFilter
public PermTripleFilter(SecurityEvaluator.Action[] actions, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
actions
- The actions the user must be permitted to perform.securedItem
- The secured item that secures this iterator.evaluator
- The security evaluator to evaluate the security queries.
-
PermTripleFilter
Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
actions
- The actions the user must be permitted to perform.securedItem
- The secured item that secures this iterator.
-
PermTripleFilter
public PermTripleFilter(Collection<SecurityEvaluator.Action> actions, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameter- Parameters:
actions
- The actions the user must be permitted to perform.securedItem
- The secured item that secures this iterator.evaluator
- The security evaluator to evaluate the security queries.
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<Triple>
- Throws:
AuthenticationRequiredException
-