incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enor...@apache.org
Subject svn commit: r1098453 - in /sling/trunk/samples: accessmanager-ui/README.txt accessmanager-ui/pom.xml usermanager-ui/README.txt
Date Mon, 02 May 2011 00:38:33 GMT
Author: enorman
Date: Mon May  2 00:38:33 2011
New Revision: 1098453

URL: http://svn.apache.org/viewvc?rev=1098453&view=rev
Log:
SLING-2065, SLING-1562 updated readme

Modified:
    sling/trunk/samples/accessmanager-ui/README.txt
    sling/trunk/samples/accessmanager-ui/pom.xml
    sling/trunk/samples/usermanager-ui/README.txt

Modified: sling/trunk/samples/accessmanager-ui/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/README.txt?rev=1098453&r1=1098452&r2=1098453&view=diff
==============================================================================
--- sling/trunk/samples/accessmanager-ui/README.txt (original)
+++ sling/trunk/samples/accessmanager-ui/README.txt Mon May  2 00:38:33 2011
@@ -1,50 +1,47 @@
-Sling user management UI sample
+Sling access manager UI sample
 ---------------------
 
 WHY THIS SAMPLE?
 ----------------
-This demonstrates some sample UI for user self-regirstration and profile update.
+This demonstrates some sample UI for viewing/updating the access control
+lists of JCR nodes.
+
+PRE-REQUISITES
+--------------
+This sample uses the i18n support provided by the org.apache.sling.i18n bundle,
+so that bundle must be installed into your sling instance first. 
+
+If using the sling launchpad, you will need to remove the following scripts from your
+jackrabbit repository since this sample bundle provides a different implementation of
+those scripts.
+    /apps/sling/servlet/default/ace.html.esp
+    /apps/sling/servlet/default/acl.html.esp
 
 HOW TO INSTALL
 --------------
 Build this bundle and install it in Sling.
 
-For example, if Sling is running on port 8080 (which happens if you start 
-the launchpad/testing module with "mvn jetty:run"), this will build and 
+For example, if Sling is running on port 8888 (which happens if you start 
+the launchpad/builder module with "mvn launchpad:run"), this will build and 
 install it:
 
-    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
+    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8888/system/console
     
 To verify that the bundle is correctly installed:
 
-1) http://localhost:8080/apps/espblog/html.esp must return the html.esp 
+1) http://localhost:8888/libs/sling/accessmanager/page.html.esp must return the page.html.esp

    script.
 
-2) The console at http://localhost:8080/system/console/bundles must 
-    list the bundle named "Sling - ESP blog sample" as active.    
+2) The console at http://localhost:8888/system/console/bundles must 
+    list the bundle named "Apache Sling Access Manager UI sample" as active.    
 
 HOW TO TEST
 -----------
-Start by logging in at http://localhost:8080/?sling:authRequestLogin=true,
-using username=admin and password=admin (or use the "login" link on the 
-/index.html page).
-
-Once logged in, /index.html should say "you are currently logged in as
-user "admin" to workspace "default".
-
-Then, http://localhost:8080/content/espblog/*.html should display the "Sling ESP
-blog sample" page, with the Home/Admin/New Post/... menu.
-
-If you get Sling's default HTML rendition instead ("Resource dumped by 
-HtmlRendererServlet") that's probably because the "path-based-rtp" bundle
-is not installed. Run the above "mvn...clean install" command in the
-sling/samples/path-based-rtp folder to install it, and reload the page.
+Login as the admin user.
 
-Create a new post using the "New Post" menu.
+Open http://localhost:8888/[node_path_here].acl.html to view the access control list for
+a JCR node where [node_path_here] is replaced with the path of the node. 
 
-The post can include an attachment, if that's an image the included
-ThumbnailGeneratorService generates thumbnails in different sizes, displayed
-on the post's page. This happens asynchronously, so depending on your 
-machine's speed the thumbnails might only appear after a few seconds.
+Use the links on the page to add/update/remove access control entries to the list
+to provision privileges for users or groups.
 
-The ESP scripts are found under /apps/espblog in the repository.

Modified: sling/trunk/samples/accessmanager-ui/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/pom.xml?rev=1098453&r1=1098452&r2=1098453&view=diff
==============================================================================
--- sling/trunk/samples/accessmanager-ui/pom.xml (original)
+++ sling/trunk/samples/accessmanager-ui/pom.xml Mon May  2 00:38:33 2011
@@ -99,7 +99,6 @@
         <configuration>
           <instructions>
             <Export-Package>
-                org.apache.sling.accessmanager
             </Export-Package>
             <Sling-Bundle-Resources>
                 /images,

Modified: sling/trunk/samples/usermanager-ui/README.txt
URL: http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/README.txt?rev=1098453&r1=1098452&r2=1098453&view=diff
==============================================================================
--- sling/trunk/samples/usermanager-ui/README.txt (original)
+++ sling/trunk/samples/usermanager-ui/README.txt Mon May  2 00:38:33 2011
@@ -1,50 +1,39 @@
-Sling user management UI sample
+Sling user manager UI sample
 ---------------------
 
 WHY THIS SAMPLE?
 ----------------
-This demonstrates some sample UI for user self-regirstration and profile update.
+This demonstrates some sample UI for user/group discovery, creation and update.
+
+PRE-REQUISITES
+--------------
+This sample uses the i18n support provided by the org.apache.sling.i18n bundle,
+so that bundle must be installed into your sling instance first. 
 
 HOW TO INSTALL
 --------------
 Build this bundle and install it in Sling.
 
-For example, if Sling is running on port 8080 (which happens if you start 
-the launchpad/testing module with "mvn jetty:run"), this will build and 
+For example, if Sling is running on port 8888 (which happens if you start 
+the launchpad/builder module with "mvn launchpad:run"), this will build and 
 install it:
 
-    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
+    mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8888/system/console
     
 To verify that the bundle is correctly installed:
 
-1) http://localhost:8080/apps/espblog/html.esp must return the html.esp 
+1) http://localhost:8888/libs/sling/usermgmt/page.html.esp must return the page.html.esp

    script.
 
-2) The console at http://localhost:8080/system/console/bundles must 
-    list the bundle named "Sling - ESP blog sample" as active.    
+2) The console at http://localhost:8888/system/console/bundles must 
+    list the bundle named "Apache Sling User Manager UI sample" as active.    
 
 HOW TO TEST
 -----------
-Start by logging in at http://localhost:8080/?sling:authRequestLogin=true,
-using username=admin and password=admin (or use the "login" link on the 
-/index.html page).
-
-Once logged in, /index.html should say "you are currently logged in as
-user "admin" to workspace "default".
-
-Then, http://localhost:8080/content/espblog/*.html should display the "Sling ESP
-blog sample" page, with the Home/Admin/New Post/... menu.
-
-If you get Sling's default HTML rendition instead ("Resource dumped by 
-HtmlRendererServlet") that's probably because the "path-based-rtp" bundle
-is not installed. Run the above "mvn...clean install" command in the
-sling/samples/path-based-rtp folder to install it, and reload the page.
+Login to sling as the admin user.
 
-Create a new post using the "New Post" menu.
+Open http://localhost:8888/system/userManager.html
 
-The post can include an attachment, if that's an image the included
-ThumbnailGeneratorService generates thumbnails in different sizes, displayed
-on the post's page. This happens asynchronously, so depending on your 
-machine's speed the thumbnails might only appear after a few seconds.
+Use the links in the left sidebar to get to the pages that enable you to 
+find, update or create users/groups.
 
-The ESP scripts are found under /apps/espblog in the repository.



Mime
View raw message