Package org.apache.jena.fuseki.access
Class SecurityContextAllowNone
java.lang.Object
org.apache.jena.fuseki.access.SecurityContextAllowNone
- All Implemented Interfaces:
SecurityContext
A
SecurityContext that does not allow any access.-
Field Summary
Fields inherited from interface org.apache.jena.fuseki.access.SecurityContext
ALL, allGraphs, allGraphsStr, allNamedGraphs, allNamedGraphsStr, NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.query.QueryExecutioncreateQueryExecution(org.apache.jena.query.Query query, org.apache.jena.sparql.core.DatasetGraph dsg) voidfilterTDB(org.apache.jena.sparql.core.DatasetGraph dsg, org.apache.jena.query.QueryExecution qExec) Apply a filter suitable for the TDB-backedDatasetGraph, to theContextof theQueryExecution.Predicate<org.apache.jena.sparql.core.Quad>Quad filter to reflect the security policy of thisSecurityContext.booleanCollection<org.apache.jena.graph.Node>Collection of visible graph names.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.fuseki.access.SecurityContext
createQueryExecution, visibleGraphNames
-
Constructor Details
-
SecurityContextAllowNone
public SecurityContextAllowNone()
-
-
Method Details
-
visibleGraphs
Description copied from interface:SecurityContextCollection of visible graph names.This method returns null for "all" to avoid needing to calculate the current set of named graph names. A collection of no elements means no named graphs are visible.
- Specified by:
visibleGraphsin interfaceSecurityContext
-
visableDefaultGraph
public boolean visableDefaultGraph()- Specified by:
visableDefaultGraphin interfaceSecurityContext
-
createQueryExecution
public org.apache.jena.query.QueryExecution createQueryExecution(org.apache.jena.query.Query query, org.apache.jena.sparql.core.DatasetGraph dsg) - Specified by:
createQueryExecutionin interfaceSecurityContext
-
predicateQuad
Description copied from interface:SecurityContextQuad filter to reflect the security policy of thisSecurityContext. It is better to callSecurityContext.createQueryExecution(Query, DatasetGraph)which may be more efficient.- Specified by:
predicateQuadin interfaceSecurityContext
-
filterTDB
public void filterTDB(org.apache.jena.sparql.core.DatasetGraph dsg, org.apache.jena.query.QueryExecution qExec) Description copied from interface:SecurityContextApply a filter suitable for the TDB-backedDatasetGraph, to theContextof theQueryExecution. This does not modify theDatasetGraph. ThrowsIllegalArgumentExceptionifDatasetGraphis not a TDB1 or TDB2 backed dataset. May throwUnsupportedOperationException.- Specified by:
filterTDBin interfaceSecurityContext
-