public class SecurityContextAllowNone extends Object implements SecurityContext
SecurityContext that does not allow any access.ALL, allGraphs, allGraphsStr, allNamedGraphs, allNamedGraphsStr, NONE| Constructor and Description |
|---|
SecurityContextAllowNone() |
| Modifier and Type | Method and Description |
|---|---|
QueryExecution |
createQueryExecution(Query query,
DatasetGraph dsg) |
void |
filterTDB(DatasetGraph dsg,
QueryExecution qExec)
|
Predicate<Quad> |
predicateQuad()
Quad filter to reflect the security policy of this
SecurityContext. |
boolean |
visableDefaultGraph() |
Collection<Node> |
visibleGraphs()
Collection of visible graph names.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitALL_NG, createQueryExecution, visibleGraphNamespublic Collection<Node> visibleGraphs()
SecurityContextvisibleGraphs in interface SecurityContextpublic boolean visableDefaultGraph()
visableDefaultGraph in interface SecurityContextpublic QueryExecution createQueryExecution(Query query, DatasetGraph dsg)
createQueryExecution in interface SecurityContextpublic Predicate<Quad> predicateQuad()
SecurityContextSecurityContext. It is
better to call SecurityContext.createQueryExecution(Query, DatasetGraph) which may be more
efficient.predicateQuad in interface SecurityContextpublic void filterTDB(DatasetGraph dsg, QueryExecution qExec)
SecurityContextDatasetGraph, to the Context of the
QueryExecution. This does not modify the DatasetGraph.
Throws IllegalArgumentException if DatasetGraph is not a TDB1 or TDB2 backed dataset.
May throw UnsupportedOperationException.filterTDB in interface SecurityContextLicensed under the Apache License, Version 2.0