Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Fuseki install from stand alone server to deployable war.
- Loading branch information
Showing
6 changed files
with
82 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
[main] | ||
# Development | ||
ssl.enabled = false | ||
|
||
plainMatcher=org.apache.shiro.authc.credential.SimpleCredentialsMatcher | ||
#iniRealm=org.apache.shiro.realm.text.IniRealm | ||
iniRealm.credentialsMatcher = $plainMatcher | ||
|
||
localhostFilter=org.apache.jena.fuseki.authz.LocalhostFilter | ||
|
||
[users] | ||
# Implicitly adds "iniRealm = org.apache.shiro.realm.text.IniRealm" | ||
admin=pw | ||
|
||
[roles] | ||
|
||
[urls] | ||
## Control functions open to anyone | ||
/$/status = anon | ||
/$/ping = anon | ||
|
||
## and the rest are restricted to localhost. | ||
#/$/** = localhostFilter | ||
|
||
## If you want simple, basic authentication user/password | ||
## on the operations, | ||
## 1 - set a better password in [users] above. | ||
## 2 - comment out the "#/$/** = localhost" line and use: | ||
## "/$/** = authcBasic,user[admin]" | ||
|
||
## or to allow any access. | ||
/$/** = anon | ||
|
||
# Everything else | ||
/**=anon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@prefix : <http://base/#> . | ||
@prefix tdb: <http://jena.hpl.hp.com/2008/tdb#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix ja: <http://jena.hpl.hp.com/2005/11/Assembler#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix fuseki: <http://jena.apache.org/fuseki#> . | ||
|
||
:service_tdb_all a fuseki:Service ; | ||
rdfs:label "test" ; | ||
fuseki:dataset :tdb_dataset_readwrite ; | ||
fuseki:name "test" ; | ||
fuseki:serviceQuery "query" , "sparql" ; | ||
fuseki:serviceReadGraphStore "get" ; | ||
fuseki:serviceReadWriteGraphStore | ||
"data" ; | ||
fuseki:serviceUpdate "update" ; | ||
fuseki:serviceUpload "upload" . | ||
|
||
:tdb_dataset_readwrite | ||
a tdb:DatasetTDB ; | ||
tdb:location "/etc/fuseki/databases/test_data" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters