Author: claude
Date: Sun Feb 15 16:21:48 2015
New Revision: 1659936
URL: http://svn.apache.org/r1659936
Log:
another attempt
Modified:
jena/site/trunk/content/documentation/security/example.mdtext
Modified: jena/site/trunk/content/documentation/security/example.mdtext
URL:
http://svn.apache.org/viewvc/jena/site/trunk/content/documentation/security/example.mdtext?rev=1659936&r1=1659935&r2=1659936&view=diff
==============================================================================
--- jena/site/trunk/content/documentation/security/example.mdtext (original)
+++ jena/site/trunk/content/documentation/security/example.mdtext Sun Feb 15
16:21:48 2015
@@ -27,11 +27,11 @@ Jena Security jars can be downloaded fro
Uncompress the `commons-collections*.jar` into the `Fuseki Home` directory.
5. Add security jars to the startup script/batch file.
- 5.* On \*NIX edit fuseki-server script
+ * On \*NIX edit fuseki-server script
comment out the line that reads `exec java $JVM_ARGS -jar "$JAR" "$@"`
uncomment the last two lines that read
- > ## APPJAR=MyCode.jar
- > ## java $JVM_ARGS -cp "$JAR:$APPJAR"
org.apache.jena.fuseki.cmd.FusekiCmd "$@"
+ ## APPJAR=MyCode.jar
+ ## java $JVM_ARGS -cp "$JAR:$APPJAR"
org.apache.jena.fuseki.cmd.FusekiCmd "$@"
change `MyCode.jar` to `security.jar:example.jar:commons-collections*.jar`
* On Windows edit fuseki-server.bat file
comment out the line that reads `java -Xmx1200M -jar fuseki-server.jar %*`
@@ -44,11 +44,10 @@ Uncompress the `commons-collections*.jar
7. Stop the server.
8. Extract the example configuration into the newly created `Fuseki Home/run`
directory.
- From the example.jar archive extract
- * `/org/apache/jena/security/example/example.ttl` into the `Fuseki
Home/run` directory
- * `/org/apache/jena/security/example/fuseki/config.ttl` into the `Fuseki
Home/run` directory
- * `/org/apache/jena/security/example/fuseki/shiro.ini` into the `Fuseki
Home/run` directory
-
+ From the example.jar archive:
+ * extract `/org/apache/jena/security/example/example.ttl` into the `Fuseki
Home/run` directory
+ * extract `/org/apache/jena/security/example/fuseki/config.ttl` into the
`Fuseki Home/run` directory
+ * extract `/org/apache/jena/security/example/fuseki/shiro.ini` into the
`Fuseki Home/run` directory
9. run `fuseki-server âconfig=run/config.ttl` or `fuseki-server.bat
âconfig=run/config.ttl`
@@ -65,11 +64,11 @@ At this point the system is configured w
<tr><td>darla</td><td>darla</td><td>Only messages to or from darla</td></tr>
</table>
-The messages graph is defined in the run/example.ttl file.
+The messages graph is defined in the `run/example.ttl` file.
-The run/shiro.ini file lists the users and their passwords and restricts
access to the graphs.
+The `run/shiro.ini` file lists the users and their passwords and restricts
access to the graphs.
-The run.config.ttl file adds the security to the graph as follows:
+The `run/config.ttl` file adds the security to the graph as follows:
Define all the prefixes