You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/01/10 19:15:01 UTC
svn commit: r1431538 - in /isis/site/trunk/content:
components/security/shiro/about.md documentation.md getting-started/about.md
Author: danhaywood
Date: Thu Jan 10 18:15:00 2013
New Revision: 1431538
URL: http://svn.apache.org/viewvc?rev=1431538&view=rev
Log:
isis site - removing -RCn tags from archetype and shiro
Modified:
isis/site/trunk/content/components/security/shiro/about.md
isis/site/trunk/content/documentation.md
isis/site/trunk/content/getting-started/about.md
Modified: isis/site/trunk/content/components/security/shiro/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/components/security/shiro/about.md?rev=1431538&r1=1431537&r2=1431538&view=diff
==============================================================================
--- isis/site/trunk/content/components/security/shiro/about.md (original)
+++ isis/site/trunk/content/components/security/shiro/about.md Thu Jan 10 18:15:00 2013
@@ -7,3 +7,52 @@ The shiro implementation provides integr
### Releases
- See [release notes](release-notes/about.html).
+
+### Default Configuration
+
+The [quickstart archetype](../../../getting-started/quickstart-archetype.html) is configured with Shiro using the users, roles and permissions defined in the `WEB-INF/shiro.ini` file.
+
+Shiro itself reads this file and is bootstrapped using the following settings to be added near the top of the `WEB-INF/web.xml` file:
+
+<pre>
+</pre>
+
+### Format of Permissions
+
+Shiro converts permission strings (as found in `WEB-INF/shiro.ini`) internally into `WildcardPermission` instances, with allow a permissions to be organized hierarchical and with wildcarding.
+
+This meets Isis' requirements well; we define the permission strings as follows:
+
+<pre>
+packageName:ClassName:memberName:r,w
+</pre>
+
+where:
+
+* `memberName` is the property, collection or action name.
+* `r` indicates that the member is visible
+* `w` indicates that the member is usable (editable or invokable)
+
+Because these are wildcards, a '*' can be used at any level. Additionally, missing levels assume wildcards.
+
+Thus:
+
+<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>
+
+
+### Configuring
+
+- [Using Apache DS for authentication](using-apache-ds-for-authentication.html)
+
Modified: isis/site/trunk/content/documentation.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/documentation.md?rev=1431538&r1=1431537&r2=1431538&view=diff
==============================================================================
--- isis/site/trunk/content/documentation.md (original)
+++ isis/site/trunk/content/documentation.md Thu Jan 10 18:15:00 2013
@@ -9,7 +9,7 @@ Title: Documentation
### Getting started
- [Demo App](getting-started/demo-app.html) (`0.2.0-incubating`)
-- [Wicket/Restful/JDO Archetype](getting-started/quickstart-archetype.html) ([1.0.1-RC1](getting-started/release-notes/about.html))
+- [Wicket/Restful/JDO Archetype](getting-started/quickstart-archetype.html) ([1.0.1](getting-started/release-notes/about.html))
- [Editor templates](getting-started/editor-templates.html)
- [Cheat Sheet](getting-started/cheat-sheet.html)
- [Icons](getting-started/icons.html)
@@ -250,9 +250,10 @@ Title: Documentation
{span-one-third
-### Shiro [1.0.0-RC1](components/security/shiro/release-notes/about.html)
+### Shiro [1.0.0](components/security/shiro/release-notes/about.html)
- [About](components/security/shiro/about.html)
+- [Using Apache DS for authentication](components/security/shiro/using-apache-ds-for-authentication.html)
}
Modified: isis/site/trunk/content/getting-started/about.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/getting-started/about.md?rev=1431538&r1=1431537&r2=1431538&view=diff
==============================================================================
--- isis/site/trunk/content/getting-started/about.md (original)
+++ isis/site/trunk/content/getting-started/about.md Thu Jan 10 18:15:00 2013
@@ -1,7 +1,7 @@
Title: Getting started
- [Demo App](demo-app.html) (`0.2.0-incubating`)
-- [Wicket/Restful/JDO Archetype](quickstart-archetype.html) ([1.0.1-RC1](release-notes/about.html))
+- [Wicket/Restful/JDO Archetype](quickstart-archetype.html) ([1.0.1](release-notes/about.html))
- [Editor templates](editor-templates.html)
- [Cheat Sheet](cheat-sheet.html)
- [Icons](icons.html)