directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-commander git commit: readme prereqs
Date Sun, 24 Jan 2016 16:25:54 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master d87cfd5ca -> ef0555b1d


readme prereqs


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

Branch: refs/heads/master
Commit: ef0555b1dafc0607908913bb9696697c3c10c316
Parents: d87cfd5
Author: Shawn McKinney <smckinney@apache.org>
Authored: Sun Jan 24 10:25:50 2016 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Sun Jan 24 10:25:50 2016 -0600

----------------------------------------------------------------------
 README.md | 56 +++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 45 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/ef0555b1/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index ba02971..2b3c275 100755
--- a/README.md
+++ b/README.md
@@ -60,8 +60,8 @@ Minimum software requirements:
  * git
  * Apache Maven3++
  * Apache Tomcat7++
- * Apache Fortress Core and LDAP server installed per README located in **FORTRESS_CORE_HOME**
package.
- * Apache Fortress Realm installed per README located in **FORTRESS_REALM_HOME** package.
+ * Apache Fortress Core Downloaded and Installed and LDAP server setup per **README.md**
located in **FORTRESS_CORE_HOME** package.
+ * Apache Fortress Realm Downloaded and Installed per **README.md** in **FORTRESS_REALM_HOME**
package.
 
 Everything else covered in steps that follow.  Tested on Debian, Centos & Windows systems.
 
@@ -77,11 +77,46 @@ Build the source.
 ___________________________________________________________________________________
 ## SECTION 3. Get the fortress.properties
 
-Copy the fortress.properties, created during **FORTRESS_CORE_HOME** README, to this package's
resource folder.
+These contain the coordinates to the target LDAP server.
 
-```
-cp FORTRESS_CORE_HOME/config/fortress.properties FORTRESS_WEB_HOME/src/main/resources
-```
+1. Copy the fortress.properties, created during **FORTRESS_CORE_HOME** README, to this package's
resource folder.
+
+ ```
+ cp FORTRESS_CORE_HOME/config/fortress.properties FORTRESS_WEB_HOME/src/main/resources
+ ```
+
+2. Verify they match your target LDAP server.
+ ```
+ # This param tells fortress what type of ldap server in use:
+ ldap.server.type=apacheds
+
+ # ldap host name
+ host=localhost
+
+ # if ApacheDS is listening on
+ port=10389
+
+ # If ApacheDS, these credentials are used for read/write to fortress DIT
+ admin.user=uid=admin,ou=system
+ admin.pw=secret
+
+ # This is min/max settings for admin pool connections:
+ min.admin.conn=1
+ max.admin.conn=10
+
+ # This node contains more fortress properties stored on behalf of connecting LDAP clients:
+ config.realm=DEFAULT
+ config.root=ou=Config,dc=example,dc=com
+
+ # Used by application security components:
+ perms.cached=true
+
+ # Fortress uses a cache:
+ ehcache.config.file=ehcache.xml
+
+ # Default for pool reconnect flag is false:
+ enable.pool.reconnect=true
+ ```
 
 ___________________________________________________________________________________
 ## SECTION 4. Load Sample Security Policy
@@ -140,11 +175,10 @@ Run the Selenium Web driver integration tests:
  mvn test -Dtest=FortressWebSeleniumITCase
  ```
 
- Note: This test case depends on:
-
-* Apache Fortress Core *FortressJUnitTest* has been executed.  This will load some test data
loaded into the ldap server.
-* Sample Fortress Web security policy loaded.
-* Firefox is installed to target machine.
+ Note: These automated tests depend that:
+ * Firefox installed to target machine.
+ * **FORTRESS_CORE_HOME**/*FortressJUnitTest* successfully run.  This will load some test
data to grind on.
+ * [FortressWebDemoUsers](./src/main/resources/FortressWebDemoUsers.xml) policy loaded into
target LDAP server.
 
 ___________________________________________________________________________________
 #### END OF README
\ No newline at end of file


Mime
View raw message