You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2013/01/10 19:15:09 UTC

svn commit: r845947 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/components/security/shiro/about.html content/documentation.html content/getting-started/about.html

Author: buildbot
Date: Thu Jan 10 18:15:08 2013
New Revision: 845947

Log:
Staging update by buildbot for isis

Modified:
    websites/staging/isis/trunk/cgi-bin/   (props changed)
    websites/staging/isis/trunk/content/   (props changed)
    websites/staging/isis/trunk/content/components/security/shiro/about.html
    websites/staging/isis/trunk/content/documentation.html
    websites/staging/isis/trunk/content/getting-started/about.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jan 10 18:15:08 2013
@@ -1 +1 @@
-1429783
+1431538

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Jan 10 18:15:08 2013
@@ -1 +1 @@
-1429783
+1431538

Modified: websites/staging/isis/trunk/content/components/security/shiro/about.html
==============================================================================
--- websites/staging/isis/trunk/content/components/security/shiro/about.html (original)
+++ websites/staging/isis/trunk/content/components/security/shiro/about.html Thu Jan 10 18:15:08 2013
@@ -244,6 +244,57 @@
 <li>See <a href="release-notes/about.html">release notes</a>.</li>
 </ul>
 
+<h3>Default Configuration</h3>
+
+<p>The <a href="../../../getting-started/quickstart-archetype.html">quickstart archetype</a> is configured with Shiro using the users, roles and permissions defined in the <code>WEB-INF/shiro.ini</code> file.</p>
+
+<p>Shiro itself reads this file and is bootstrapped using the following settings to be added near the top of the <code>WEB-INF/web.xml</code> file:</p>
+
+<pre>
+</pre>
+
+<h3>Format of Permissions</h3>
+
+<p>Shiro converts permission strings (as found in <code>WEB-INF/shiro.ini</code>) internally into <code>WildcardPermission</code> instances, with allow a permissions to be organized hierarchical and with wildcarding.  </p>
+
+<p>This meets Isis' requirements well; we define the permission strings as follows:</p>
+
+<pre>
+packageName:ClassName:memberName:r,w
+</pre>
+
+<p>where:</p>
+
+<ul>
+<li><code>memberName</code> is the property, collection or action name.</li>
+<li><code>r</code> indicates that the member is visible</li>
+<li><code>w</code> indicates that the member is usable (editable or invokable)</li>
+</ul>
+
+<p>Because these are wildcards, a '*' can be used at any level.  Additionally, missing levels assume wildcards.</p>
+
+<p>Thus:</p>
+
+<pre>
+com.mycompany.myapp:Customer:firstName:r,w   # view or edit customer's firstName
+com.mycompany.myapp:Customer:lastName:r      # view customer's lastName only
+com.mycompany.myapp:Customer:placeOrder:*    # view and invoke placeOrder action
+com.mycompany.myapp:Customer:placeOrder      # ditto
+com.mycompany.myapp:Customer:*:r             # view all customer class members
+com.mycompany.myapp:*:*:r                    # view-only access for all classes in myapp package
+com.mycompany.myapp:*:*:*                    # view/edit for all classes in myapp package
+com.mycompany.myapp:*:*                      # ditto
+com.mycompany.myapp:*                        # ditto
+com.mycompany.myapp                          # ditto
+*                                            # view/edit access to everything
+</pre>
+
+<h3>Configuring</h3>
+
+<ul>
+<li><a href="using-apache-ds-for-authentication.html">Using Apache DS for authentication</a></li>
+</ul>
+
 
 
       </div>

Modified: websites/staging/isis/trunk/content/documentation.html
==============================================================================
--- websites/staging/isis/trunk/content/documentation.html (original)
+++ websites/staging/isis/trunk/content/documentation.html Thu Jan 10 18:15:08 2013
@@ -242,7 +242,7 @@
 
 <ul>
 <li><a href="getting-started/demo-app.html">Demo App</a> (<code>0.2.0-incubating</code>)</li>
-<li><a href="getting-started/quickstart-archetype.html">Wicket/Restful/JDO Archetype</a> (<a href="getting-started/release-notes/about.html">1.0.1-RC1</a>)</li>
+<li><a href="getting-started/quickstart-archetype.html">Wicket/Restful/JDO Archetype</a> (<a href="getting-started/release-notes/about.html">1.0.1</a>)</li>
 <li><a href="getting-started/editor-templates.html">Editor templates</a></li>
 <li><a href="getting-started/cheat-sheet.html">Cheat Sheet</a></li>
 <li><a href="getting-started/icons.html">Icons</a></li>
@@ -455,10 +455,11 @@
 <div class="span-one-third"></li>
 </ul>
 
-<h3>Shiro <a href="components/security/shiro/release-notes/about.html">1.0.0-RC1</a></h3>
+<h3>Shiro <a href="components/security/shiro/release-notes/about.html">1.0.0</a></h3>
 
 <ul>
-<li><a href="components/security/shiro/about.html">About</a>
+<li><a href="components/security/shiro/about.html">About</a></li>
+<li><a href="components/security/shiro/using-apache-ds-for-authentication.html">Using Apache DS for authentication</a>
 </div>
 <div class="span-one-third"></li>
 </ul>

Modified: websites/staging/isis/trunk/content/getting-started/about.html
==============================================================================
--- websites/staging/isis/trunk/content/getting-started/about.html (original)
+++ websites/staging/isis/trunk/content/getting-started/about.html Thu Jan 10 18:15:08 2013
@@ -236,7 +236,7 @@
 
 <ul>
 <li><a href="demo-app.html">Demo App</a> (<code>0.2.0-incubating</code>)</li>
-<li><a href="quickstart-archetype.html">Wicket/Restful/JDO Archetype</a> (<a href="release-notes/about.html">1.0.1-RC1</a>)</li>
+<li><a href="quickstart-archetype.html">Wicket/Restful/JDO Archetype</a> (<a href="release-notes/about.html">1.0.1</a>)</li>
 <li><a href="editor-templates.html">Editor templates</a></li>
 <li><a href="cheat-sheet.html">Cheat Sheet</a></li>
 <li><a href="icons.html">Icons</a></li>