java.lang.Object
org.apache.jena.fuseki.main.FusekiLib
Actions on and about a
FusekiServer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FusekiServer.Builder
fusekiBuilderAccessCtl
(Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Return aFusekiServer.Builder
setup for data access control.static FusekiServer.Builder
fusekiBuilderAccessCtl
(FusekiServer.Builder builder, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify aFusekiServer.Builder
setup for data access control.static void
modifyForAccessCtl
(org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify in-place existingEndpoints
so that the read-operations for query/GSP/Quads go to the data-filtering versions of theActionServices
.static void
modifyForAccessCtl
(org.apache.jena.fuseki.server.Endpoint endpoint, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify in-place existing anEndpoint
so that the read-operations for query/GSP/Quads go to the data-filtering versions of theActionServices
.static Collection<String>
names
(FusekiServer server) Return a collection of the names registered.static void
reload
(FusekiServer server, org.apache.jena.rdf.model.Model configuration) Process a configuration mode to find the DataServices and reset the serverDataAccessPointRegistry
.static void
setDataAccessPointRegistry
(FusekiServer server, org.apache.jena.fuseki.server.DataAccessPointRegistry newRegistry)
-
Constructor Details
-
FusekiLib
public FusekiLib()
-
-
Method Details
-
names
Return a collection of the names registered. This collection does not change as the server changes. -
reload
Process a configuration mode to find the DataServices and reset the serverDataAccessPointRegistry
. The only server-level setting processed is thefuseki:services
list; other settings are ignored. -
setDataAccessPointRegistry
public static void setDataAccessPointRegistry(FusekiServer server, org.apache.jena.fuseki.server.DataAccessPointRegistry newRegistry) -
fusekiBuilderAccessCtl
public static FusekiServer.Builder fusekiBuilderAccessCtl(Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Return aFusekiServer.Builder
setup for data access control. -
fusekiBuilderAccessCtl
public static FusekiServer.Builder fusekiBuilderAccessCtl(FusekiServer.Builder builder, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify aFusekiServer.Builder
setup for data access control. -
modifyForAccessCtl
public static void modifyForAccessCtl(org.apache.jena.fuseki.server.DataAccessPointRegistry dapRegistry, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify in-place existingEndpoints
so that the read-operations for query/GSP/Quads go to the data-filtering versions of theActionServices
. -
modifyForAccessCtl
public static void modifyForAccessCtl(org.apache.jena.fuseki.server.Endpoint endpoint, Function<org.apache.jena.fuseki.servlets.HttpAction, String> determineUser) Modify in-place existing anEndpoint
so that the read-operations for query/GSP/Quads go to the data-filtering versions of theActionServices
. Any other operations are replaced with "access denied".
-