The standalone jar - I was using the init.d style fuseki script from the
apache-jena-fuseki.tar.gz file

Thanks,

Simon

On Mon, 23 Mar 2020 at 22:05, Andy Seaborne <a...@apache.org> wrote:

> I had been at the code/build after your message. I don't see why
> jena-fuseki-access isn't in the "full" version. The code should just use
> the webapp container's principle authentication support.
>
> Were you using Tomcat or the standalone jar?
>
>      Andy
>
> On 23/03/2020 18:01, Simon White wrote:
> > That's done the trick - I hadn't realised there were differences in
> > functionality between the two different distros - for the avoidance of
> > doubt, I downloaded the "Apache Jena Fuseki' tgz found here:
> > https://jena.apache.org/download/index.cgi
> >
> > Running the jar file you pointed at seems to do the trick, but it's a
> shame
> > the UI is lost in doing so.
> >
> > Thanks
> >
> > On Mon, Mar 23, 2020 at 5:23 PM Andy Seaborne <a...@apache.org> wrote:
> >
> >> Hi Simon,
> >>
> >>   > the bundled fuseki distro
> >>
> >> that is apache-jena-fuseki?
> >>
> >> It's in the "main" version, not the full (with UI) packaging.
> >>
> >> https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-server/
> >>
> >>   > @prefix access:  <http://jena.apache.org/access#> .
> >>
> >> is right.
> >>
> >> The documentation is clear about this - sorry about that
> >>
> >>       Andy
> >>
> >> On 23/03/2020 16:51, Simon White wrote:
> >>> Hello, grateful for any help on the following.
> >>>
> >>> I'm trying to follow
> >>>
> >>
> https://jena.apache.org/documentation/fuseki2/data-access-control#graph-acl
> >> to
> >>> setup a basic ACL for two graphs within a TDB2 dataset.
> >>>
> >>> I have a base dataset declared like. this:
> >>>
> >>> <
> >>> <
> >>
> https://jena.apache.org/documentation/fuseki2/data-access-control#graph-acl
> >>> #basedataset>
> >>> rdf:type tdb2:DatasetTDB;
> >>>       tdb2:location "/path/to/database" .
> >>>
> >>> and then I think I'm supposed to setup a secured dataset over the top
> >> like
> >>> this:
> >>>
> >>> <#securedataset> rdf:type access:AccessControlledDataset;
> >>>       access:registry <#securityRegistry> ;
> >>>       access:dataset <#basedataset>;
> >>> .
> >>>
> >>> <#securityRegistry> rdf:type access:SecurityRegistry;
> >>>       access:entry ( "exampleUser" <http://full/dataset/and/graph/uri>
> )
> >> ;
> >>>
> >>> When I try this, I get the following error:
> >>>
> >>> ERROR:  Exception in initialization:  the root
> >>> file://[path]/config.ttl#securedataset has no most specific type that
> is
> >> a
> >>> subclass of ja:Object
> >>>
> >>> Could someone suggest where I might be going wrong?  Could it be that I
> >>> have the wrong prefix for 'access'?  I'm using:
> >>>
> >>> @prefix access:  <http://jena.apache.org/access#> .
> >>>
> >>> Or perhaps I'm missing a JAR?  Currently using the bundled fuseki
> distro
> >> -
> >>> v 3.14.0
> >>>
> >>> TVMIA
> >>>
> >>
> >
> >
>
-- 
Simon White

Reply via email to