You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2015/02/15 17:38:42 UTC

svn commit: r940263 - in /websites/staging/jena/trunk/content: ./ documentation/security/example.html

Author: buildbot
Date: Sun Feb 15 16:38:41 2015
New Revision: 940263

Log:
Staging update by buildbot for jena

Modified:
    websites/staging/jena/trunk/content/   (props changed)
    websites/staging/jena/trunk/content/documentation/security/example.html

Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Feb 15 16:38:41 2015
@@ -1 +1 @@
-1659942
+1659944

Modified: websites/staging/jena/trunk/content/documentation/security/example.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/security/example.html (original)
+++ websites/staging/jena/trunk/content/documentation/security/example.html Sun Feb 15 16:38:41 2015
@@ -179,15 +179,17 @@ Uncompress the <code>commons-collections
 </ol>
 </li>
 <li>
-<p>On Windows edit fuseki-server.bat file </p>
+<p>On Windows edit fuseki-server.bat file.</p>
+<ol>
+<li>Comment out the line that reads <code>java -Xmx1200M -jar fuseki-server.jar %*</code></li>
+<li>Uncomment the line that reads <code>@REM  java ... -cp fuseki-server.jar;MyCustomCode.jar org.apache.jena.fuseki.cmd.FusekiCmd %*</code></li>
+<li>Change <code>MyCustomCode.jar</code> to <code>security.jar;example.jar;commons-collections*.jar</code></li>
+</ol>
 </li>
-<li>comment out the line that reads <code>java -Xmx1200M -jar fuseki-server.jar %*</code></li>
-<li>uncomment the line that reads <code>@REM  java ... -cp fuseki-server.jar;MyCustomCode.jar org.apache.jena.fuseki.cmd.FusekiCmd %*</code></li>
-<li>change <code>MyCustomCode.jar</code> to <code>security.jar;example.jar;commons-collections*.jar</code></li>
 </ul>
 </li>
 <li>
-<p>run the fuseki-server script or batch file.</p>
+<p>Run the fuseki-server script or batch file.</p>
 </li>
 <li>
 <p>Stop the server. </p>
@@ -202,7 +204,7 @@ Uncompress the <code>commons-collections
 </ul>
 </li>
 <li>
-<p>run <code>fuseki-server –config=run/config.ttl</code> or <code>fuseki-server.bat –config=run/config.ttl</code></p>
+<p>Run <code>fuseki-server –config=run/config.ttl</code> or <code>fuseki-server.bat –config=run/config.ttl</code></p>
 </li>
 </ol>
 <h2 id="review-of-configuration">Review of configuration</h2>
@@ -217,8 +219,10 @@ Uncompress the <code>commons-collections
 </table>
 
 <p>The messages graph is defined in the <code>run/example.ttl</code> file.</p>
-<p>The <code>run/shiro.ini</code> file lists the users and their passwords and restricts access to the graphs.</p>
-<p>The <code>run/config.ttl</code> file adds the security to the graph as follows:</p>
+<p>The <code>run/shiro.ini</code> file lists the users and their passwords and configures Fuseki to require authentication to access to the graphs.</p>
+<p>The <code>run/config.ttl</code> file adds the permissions to the graph as follows by applying the 
+<code>org.apache.jena.security.example.ShiroExampleEvaluator</code> security evaluator to the message
+graph.</p>
 <p>Define all the prefixes </p>
 <div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span> <span class="n">fuseki</span><span class="p">:</span>  <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">org</span><span class="o">/</span><span class="n">fuseki</span>#<span class="o">&gt;</span> <span class="p">.</span>
 <span class="p">@</span><span class="n">prefix</span> <span class="n">tdb</span><span class="p">:</span>     <span class="o">&lt;</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">jena</span><span class="p">.</span><span class="n">hpl</span><span class="p">.</span><span class="n">hp</span><span class="p">.</span><span class="n">com</span><span class="o">/</span>2008<span class="o">/</span><span class="n">tdb</span>#<span class="o">&gt;</span> <span class="p">.</span>