Re: Fuseki authentication

2019-04-30 Thread Dan Pritts
Let me state up front that if I had to do it over again, is to handle the authN in the frontend apache that I run anyway.  But if you don't do that, or don't know apache, or whatever, here are some notes i have saved for shiro. if you use CLI to make sha256 hashes for passwords, ensure that th

Re: Fuseki authentication

2019-04-30 Thread Andy Seaborne
On 30/04/2019 10:43, Mikael Pesonen wrote: Ok so I need to look at shiro.ini... Fuseki Main is same server without the web interface? Same core engine (servlets), different delivery, no UI. Fuseki Full is the webapp/war packing, and there is a combined jar for it as well as the .war file

Re: Fuseki authentication

2019-04-30 Thread Mikael Pesonen
Ok so I need to look at shiro.ini... Fuseki Main is same server without the web interface? On 29/04/2019 20:01, Andy Seaborne wrote: Are you running the war file, full server jar with UI?  That stiul uses shiro.ini. The data-access-control.html applies to Fuseki Main. 3.10.0 works for me.

Re: Fuseki authentication

2019-04-30 Thread Mikael Pesonen
I'm running jar-file as follows: /usr/bin/java -Dlog4j.configuration=file:log4j.properties -Xmx5600M -jar fuseki-server.jar --update --port 3030 --config=config.ttl Also tried passwd with file: and without, so [] rdf:type fuseki:Server ;    fuseki:passwd "file:///tmp/passwdfile";    fuseki:

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
On 29/04/2019 18:01, Andy Seaborne wrote: Are you running the war file, full server jar with UI?  That stiul uses still shiro.ini. The data-access-control.html applies to Fuseki Main. 3.10.0 works for me. [] rdf:type fuseki:Se

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
Are you running the war file, full server jar with UI? That stiul uses shiro.ini. The data-access-control.html applies to Fuseki Main. 3.10.0 works for me. [] rdf:type fuseki:Server ; fuseki:passwd "passwdFile"; fuseki:auth "basic" ; fuseki:allowedUsers "*"; . Andy On 29/

Re: Fuseki authentication

2019-04-29 Thread Mikael Pesonen
Hi, I also tried following versions without success (test1 is the user in passwd file) <#server> rdf:type fuseki:Server ; fuseki:passwd  "..." ; fuseki:auth    "basic" ;      fuseki:allowedUsers    "*" ;      fuseki:services (<#service>) ;      . <#server> rdf:type fuseki:Server ;

Re: Fuseki authentication

2019-04-29 Thread Mikael Pesonen
Entire config.ttl: @prefix :  . @prefix rdf:  . @prefix rdfs:  . @prefix tdb:  . @prefix ja:  . @pref

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
Could you file a JIRA please? On 29/04/2019 16:09, Andy Seaborne wrote: On 29/04/2019 15:42, Mikael Pesonen wrote: I'm using Fuseki 3.10.0 and following this guide: http://jena.staging.apache.org/documentation/fuseki2/data-access-control.html#authentication Fuseki server doesnt recogniz

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
On 29/04/2019 15:42, Mikael Pesonen wrote: I'm using Fuseki 3.10.0 and following this guide: http://jena.staging.apache.org/documentation/fuseki2/data-access-control.html#authentication Fuseki server doesnt recognize --passwd from command line, and adding this <#server> rdf:type fuseki:S

Fuseki authentication

2019-04-29 Thread Mikael Pesonen
I'm using Fuseki 3.10.0 and following this guide: http://jena.staging.apache.org/documentation/fuseki2/data-access-control.html#authentication Fuseki server doesnt recognize --passwd from command line, and adding this <#server> rdf:type fuseki:Server ; fuseki:passwd  "path to passwd fil