Class FusekiLib

java.lang.Object
org.apache.jena.fuseki.main.FusekiLib

public class FusekiLib extends Object
Actions on and about a FusekiServer
  • Constructor Details

    • FusekiLib

      public FusekiLib()
  • Method Details

    • names

      public static Collection<String> names(FusekiServer server)
      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 a FusekiServer.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 a FusekiServer.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 existing Endpoints so that the read-operations for query/GSP/Quads go to the data-filtering versions of the ActionServices.
    • 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 an Endpoint so that the read-operations for query/GSP/Quads go to the data-filtering versions of the ActionServices. Any other operations are replaced with "access denied".