Uses of Enum
org.apache.jena.permissions.SecurityEvaluator.Action
Package
Description
JenaSecurity is a SecurityEvaluator interface and a set of dynamic proxies that
apply that interface to Jena Graphs, Models, and associated methods and classes.
Example code for creating a read only model/graph
-
Uses of SecurityEvaluator.Action in org.apache.jena.permissions
Modifier and TypeMethodDescriptionstatic SecurityEvaluator.Action
Returns the enum constant of this type with the specified name.static SecurityEvaluator.Action[]
SecurityEvaluator.Action.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic Set<SecurityEvaluator.Action>
SecurityEvaluator.Util.asSet
(Collection<SecurityEvaluator.Action> actions) Return a collection of actions as a set.static Set<SecurityEvaluator.Action>
SecurityEvaluator.Util.asSet
(SecurityEvaluator.Action[] actions) Return an array of actions as a set.Modifier and TypeMethodDescriptionstatic Set<SecurityEvaluator.Action>
SecurityEvaluator.Util.asSet
(SecurityEvaluator.Action[] actions) Return an array of actions as a set.boolean
SecurityEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI) Determine if the action is allowed on the graph.boolean
SecurityEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI, Triple triple) Determine if the action is allowed on the triple within the graph.Modifier and TypeMethodDescriptionstatic Set<SecurityEvaluator.Action>
SecurityEvaluator.Util.asSet
(Collection<SecurityEvaluator.Action> actions) Return a collection of actions as a set.default boolean
SecurityEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) Determine if all actions are allowed on the graph.default boolean
SecurityEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) Determine if all the actions are allowed on the triple within the graph.default boolean
SecurityEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) Determine if any of the actions are allowed on the graph.default boolean
SecurityEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) Determine if any of the actions are allowed on the triple within the graph. -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.example
Modifier and TypeMethodDescriptionboolean
ExampleEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI) boolean
ExampleEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI, Triple triple) boolean
ShiroExampleEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI) We allow any action on the graph itself, so this is always true.boolean
ShiroExampleEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI, Triple triple) As per our design, users can do anything with triples they have access to, so we just ignore the action parameter.Modifier and TypeMethodDescriptionboolean
ExampleEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
ExampleEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) boolean
ShiroExampleEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) As per our design, users can access any graph.boolean
ShiroExampleEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) As per our design, users can access any triple from a message that is from or to them.boolean
ExampleEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
ExampleEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) boolean
ShiroExampleEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) As per our design, users can access any graph.boolean
ShiroExampleEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) As per our design, users can access any triple from a message that is from or to them. -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.example.readonly
Modifier and TypeMethodDescriptionboolean
ReadOnlyEval.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI) boolean
ReadOnlyEval.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI, Triple triple) Modifier and TypeMethodDescriptionboolean
ReadOnlyEval.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
ReadOnlyEval.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) boolean
ReadOnlyEval.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
ReadOnlyEval.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.impl
Modifier and TypeMethodDescriptionboolean
CachedSecurityEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI) boolean
CachedSecurityEvaluator.evaluate
(Object principal, SecurityEvaluator.Action action, Node graphIRI, Triple triple) Modifier and TypeMethodDescriptionboolean
CachedSecurityEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
CachedSecurityEvaluator.evaluate
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) boolean
CachedSecurityEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI) boolean
CachedSecurityEvaluator.evaluateAny
(Object principal, Set<SecurityEvaluator.Action> actions, Node graphIRI, Triple triple) -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.model
Modifier and TypeMethodDescriptionvoid
SecuredRDFList.apply
(Set<SecurityEvaluator.Action> perms, RDFList.ApplyFn fn) Apply fn to all elements of the graph for which the user has the permissions.SecuredRDFList.iterator
(Set<SecurityEvaluator.Action> constraints) Retrieve an iterator on the list for which the user has the specified permissions.SecuredRDFList.reduce
(Set<SecurityEvaluator.Action> requiredActions, RDFList.ReduceFn fn, Object initial) Execute a reduct function across the list. -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.model.impl
Modifier and TypeMethodDescriptionvoid
SecuredRDFListImpl.apply
(Set<SecurityEvaluator.Action> perms, RDFList.ApplyFn fn) SecuredRDFListImpl.iterator
(Set<SecurityEvaluator.Action> constraints) SecuredRDFListImpl.reduce
(Set<SecurityEvaluator.Action> requiredActions, RDFList.ReduceFn fn, Object initial) -
Uses of SecurityEvaluator.Action in org.apache.jena.permissions.utils
ModifierConstructorDescriptionPermStatementFilter
(SecurityEvaluator.Action[] actions, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermStatementFilter
(SecurityEvaluator.Action[] actions, SecuredItem securedItem, SecurityEvaluator evaluator) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermStatementFilter
(SecurityEvaluator.Action action, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermStatementFilter
(SecurityEvaluator.Action action, 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 parameterRDFListSecFilter
(SecuredItem securedItem, SecurityEvaluator.Action perm) Constructor.ModifierConstructorDescriptionPermStatementFilter
(Collection<SecurityEvaluator.Action> actions, SecuredItem securedItem) Creates a filter that requires that the user have all the permissions listed in the actions parameterPermStatementFilter
(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
(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 parameterRDFListSecFilter
(SecuredItem securedItem, Set<SecurityEvaluator.Action> perms) Constructor