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

directory-fortress-core git commit: FC-56 - Refine Fortress Core README

Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 3bfa5ba4b -> 2075c28f4


FC-56 - Refine Fortress Core README


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/2075c28f
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/2075c28f
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/2075c28f

Branch: refs/heads/master
Commit: 2075c28f4e9871c87830d424195573ced67441bf
Parents: 3bfa5ba
Author: Shawn McKinney <sm...@apache.org>
Authored: Thu Feb 5 10:31:28 2015 -0600
Committer: Shawn McKinney <sm...@apache.org>
Committed: Thu Feb 5 10:31:28 2015 -0600

----------------------------------------------------------------------
 README-TEN-MINUTE-GUIDE.txt                     |  1 -
 README.txt                                      |  4 +--
 .../core/doc-files/apache-fortress-rest.html    | 11 ++++++-
 .../core/doc-files/apache-fortress-web.html     | 33 +++++++-------------
 4 files changed, 23 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2075c28f/README-TEN-MINUTE-GUIDE.txt
----------------------------------------------------------------------
diff --git a/README-TEN-MINUTE-GUIDE.txt b/README-TEN-MINUTE-GUIDE.txt
index cb1840c..1b31827 100644
--- a/README-TEN-MINUTE-GUIDE.txt
+++ b/README-TEN-MINUTE-GUIDE.txt
@@ -34,7 +34,6 @@ _____________________________________________________________________________
 # Instructions for downloading app and generating the install doc:
 #############################################################################
 1. Clone the directory-fortress-core from apache git repo:
-
 # git clone https://git-wip-us.apache.org/repos/asf/directory-fortress-core.git
 
 2. Change directory to package home:

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2075c28f/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index f0bc098..992cdd5 100755
--- a/README.txt
+++ b/README.txt
@@ -80,7 +80,7 @@ ________________________________________________________________________________
 ###################################################################################
 # SECTION 0.  Prerequisites for Fortress Core SDK installation and usage
 ###################################################################################
-1. Internet access to retrieve source code from Apache Directory GIT and binary dependencies from online Maven repo.
+1. Internet access to retrieve source code from Apache Fortress Core GIT and binary dependencies from online Maven repo.
 Fortress installation procedures use Maven and Apache Ant.
 The ant targets need external access to the Internet to pull down dependencies but may run without IFF:
 a. The necessary binary jars are already present and loaded into FORTRESS_HOME/lib folder.  For list of dependency jars check out the ivy.xml file.
@@ -92,7 +92,7 @@ More prereqs:
 
 2. Java SDK Version 7 or beyond installed to target environment
 
-3. Apache Ant 1.8 or beyond installed to target environment
+3. Apache Maven 3 installed to target environment
 
 4. LDAP server installed.  (options follow in section 1).
 

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2075c28f/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-rest.html
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-rest.html b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-rest.html
index 25212db..cbb7a50 100755
--- a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-rest.html
+++ b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-rest.html
@@ -78,7 +78,7 @@
               Set M2_HOME:
             <pre>
                 <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">
-# export M2_HOME=/usr/local/maven-version
+# export M2_HOME=/usr/share/maven-version
                 </p>
             </pre>
           </li>
@@ -108,6 +108,15 @@
           <br>
 
           <li>
+              Load the fortress rest test policies:
+                <pre>
+                    <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">
+# $M2_HOME/bin/mvn install -Dload.file=./src/main/resources/FortressRestServerRoles.xml -DskipTests=true
+                    </p>
+                </pre>
+          </li>
+
+          <li>
               To deploy fortress rest, run this command:
                 <pre>
                     <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2075c28f/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-web.html
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-web.html b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-web.html
index dab18bf..5fdc667 100755
--- a/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-web.html
+++ b/src/main/java/org/apache/directory/fortress/core/doc-files/apache-fortress-web.html
@@ -78,13 +78,11 @@
               Set M2_HOME:
             <pre>
                 <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">
-# export M2_HOME=/usr/local/maven-version
+# export M2_HOME=/usr/share/maven-version
                 </p>
             </pre>
           </li>
 
-          <br>
-
           <li>
               Copy the fortress.properties, created on step <a href="./apache-fortress-core.html">Build Apache Fortress Core</a>, to this package's resource folder.
                 <pre>
@@ -98,6 +96,15 @@
           <br>
 
           <li>
+              Load the fortress web test policies:
+                <pre>
+                    <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">
+# $M2_HOME/bin/mvn install -Dload.file=./src/main/resources/FortressWebDemoUsers.xml -DskipTests=true
+                    </p>
+                </pre>
+          </li>
+
+          <li>
               To deploy fortress web, run this command:
                 <pre>
                     <p style="font: monospace; color: black; background-color: lightgrey; font-size: 10pt">
@@ -140,7 +147,7 @@
           <br>
 
           <li>
-              Try the various user accounts:
+              Try the various user accounts, notice how each has different policies:
               <br><br>
               <ol type="a">
                   <li>
@@ -160,24 +167,6 @@
                   </li>
               </ol>
           </li>
-          <br>
-          <li>
-              View the audit trail.  The <i>test</i> user has access to view the following audit trail reports:
-              <ul>
-                  <br>
-                  <li>
-                      <b>BINDS</b> shows authentication events
-                  </li>
-                  <br>
-                  <li>
-                      <b>AUTHZ</b> shows authorization events
-                  </li>
-                  <br>
-                  <li>
-                      <b>MODS</b> shows historical changes to the data elements.
-                  </li>
-              </ul>
-          </li>
       </ol>
 
    </body>