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.
-
Constructor Details
-
FusekiLib
public FusekiLib()
-
-
Method Details
-
names
Return a collection of the names registered. This collection does not change as the server changes. -
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".
-