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 2016/01/24 17:40:04 UTC
directory-fortress-core git commit: download and install instructions
Repository: directory-fortress-core
Updated Branches:
refs/heads/master 60216820f -> 5827b531e
download and install instructions
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/5827b531
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/5827b531
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/5827b531
Branch: refs/heads/master
Commit: 5827b531e420ff58a8dfefc516117fc4fb1d4029
Parents: 6021682
Author: Shawn McKinney <sm...@apache.org>
Authored: Sun Jan 24 10:39:56 2016 -0600
Committer: Shawn McKinney <sm...@apache.org>
Committed: Sun Jan 24 10:39:56 2016 -0600
----------------------------------------------------------------------
README.md | 131 +++++++++++++++++++++++++++------------------------------
1 file changed, 63 insertions(+), 68 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/5827b531/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 7d52868..be14a6b 100755
--- a/README.md
+++ b/README.md
@@ -20,7 +20,6 @@
# README for Apache Fortress Core
* Version 1.0-RC41
- * last updated: January 9, 2016
* Apache Fortress Core System Architecture Diagram

@@ -30,21 +29,20 @@
* Document Overview
* Tips for first-time users.
* SECTION 1. Prerequisites
- * SECTION 2. Options for using Apache Fortress and LDAP.
- * SECTION 3. Instructions for using Apache Fortress and ApacheDS LDAP server.
- * SECTION 4. Instructions for using Apache Fortress and Symas OpenLDAP server.
- * SECTION 5. Instructions for using Apache Fortress and native OpenLDAP server.
- * SECTION 6. Instructions to pull Apache Fortress Core source code from GIT.
- * SECTION 7. Instructions to build software package.
- * SECTION 8. Instructions for configuring OpenLDAP.
- * SECTION 9. Instructions for using Apache Fortress with OpenLDAP.
- * SECTION 10. Instructions to integration test.
- * SECTION 11. Instructions to load policy data using Apache Fortress Load utility.
- * SECTION 12. Instructions to run the Apache Fortress Command Line Interpreter (CLI).
- * SECTION 13. Instructions to run the Apache Fortress Command Console.
- * SECTION 14. Instructions to build and test the Apache Fortress samples.
- * SECTION 15. Instructions to performance test.
- * SECTION 16. Instructions to encrypt LDAP passwords used in config files.
+ * SECTION 2. Download & Install.
+ * SECTION 3. Options for using Apache Fortress and LDAP.
+ * SECTION 4. Instructions for using Apache Fortress and ApacheDS LDAP server.
+ * SECTION 5. Instructions for using Apache Fortress and Symas OpenLDAP server.
+ * SECTION 6. Instructions for using Apache Fortress and native OpenLDAP server.
+ * SECTION 7. Instructions for configuring OpenLDAP.
+ * SECTION 8. Instructions for using Apache Fortress with OpenLDAP.
+ * SECTION 9. Instructions to integration test.
+ * SECTION 10. Instructions to load policy data using Apache Fortress Load utility.
+ * SECTION 11. Instructions to run the Apache Fortress Command Line Interpreter (CLI).
+ * SECTION 12. Instructions to run the Apache Fortress Command Console.
+ * SECTION 13. Instructions to build and test the Apache Fortress samples.
+ * SECTION 14. Instructions to performance test.
+ * SECTION 15. Instructions to encrypt LDAP passwords used in config files.
___________________________________________________________________________________
## Document Overview
@@ -77,61 +75,25 @@ Minimum software requirements:
* *Apache Ant7++ (if doing SECTION 3)*
___________________________________________________________________________________
-## SECTION 2. Options for using Apache Fortress and LDAP server
-
-This document describes three options to use Apache Fortress with:
-
-1. ApacheDS LDAP server
- * **SECTION 3**. Apache Fortress and ApacheDS LDAP server
-2. Symas OpenLDAP server
- * **SECTION 4**. Apache Fortress and Symas OpenLDAP server
-3. Pre-existing OpenLDAP server
- * **SECTION 5**. Apache Fortress and native OpenLDAP server
-
-*Options 1 & 2 are recommended for first-time users. Option 3 is for advanced users.*
-___________________________________________________________________________________
-## SECTION 3. Instructions for using Apache Fortress and ApacheDS LDAP server
-
- * Follow these instructions: [README-TEN-MINUTE-GUIDE](./README-TEN-MINUTE-GUIDE.md)
-
-___________________________________________________________________________________
-## SECTION 4. Instructions for using Apache Fortress and Symas OpenLDAP server
-
- * Follow these instructions: [README-QUICKSTART-SLAPD](./README-QUICKSTART-SLAPD.md)
-
-___________________________________________________________________________________
-## SECTION 5. Instructions for using Apache Fortress and native OpenLDAP server
-
- Do these sections:
-
- * SECTION 6. Instructions to pull Apache Fortress Core source code from Apache GIT
- * SECTION 7. Instructions to build software package
- * SECTION 8. Instructions for configuring OpenLDAP
- * SECTION 9. Instructions for using Apache Fortress with OpenLDAP
- * SECTION 10. Instructions to integration test
-
-___________________________________________________________________________________
-## SECTION 6. Instructions to pull Apache Fortress source code from GIT
+## SECTION 2. Download & Install
SNAPSHOTs from Apache GIT Software Repo:
https://git-wip-us.apache.org/repos/asf?p=directory-fortress-core.git
-Clone the Apache Fortress Core Git Repo::
+1. Clone the Apache Fortress Core Git Repo::
```
git clone https://git-wip-us.apache.org/repos/asf/directory-fortress-core.git
```
-___________________________________________________________________________________
-## SECTION 7. Instructions to build software package
-1. Set Java and Maven home on machines.
+2. Set Java and Maven home on machines.
-2. From the FORTRESS_HOME root folder, enter the following command:
+3. From the FORTRESS_HOME root folder, enter the following command:
```
mvn clean install
```
-3. From the FORTRESS_HOME root folder, enter the following command:
+4. From the FORTRESS_HOME root folder, enter the following command:
```
mvn javadoc:javadoc
@@ -149,14 +111,47 @@ ________________________________________________________________________________
</plugin>
```
-4. View the generated document here: [./target/site/apidocs/overview-summary.html](./target/site/apidocs/overview-summary.html).
+5. View the generated document here: [./target/site/apidocs/overview-summary.html](./target/site/apidocs/overview-summary.html).
-Build Notes:
+Install Notes:
* The Apache Fortress [pom.xml](./pom.xml) may run without connection to Internet iff its dependencies are already present in local or intermediate maven repo.
* Running ```mvn install``` calls out to maven-ant **init-fortress-config** task in [build.xml](./build.xml) to regenerate configuration artifacts (more info here: [README-CONFIG](./README-CONFIG.md)).
___________________________________________________________________________________
-## SECTION 8. Instructions for configuring OpenLDAP
+## SECTION 3. Options for using Apache Fortress and LDAP server
+
+This document describes three options to use Apache Fortress with:
+
+1. ApacheDS LDAP server
+ * **SECTION 4**. Apache Fortress and ApacheDS LDAP server
+2. Symas OpenLDAP server
+ * **SECTION 5**. Apache Fortress and Symas OpenLDAP server
+3. Pre-existing OpenLDAP server
+ * **SECTION 6**. Apache Fortress and native OpenLDAP server
+
+*Options 1 & 2 are recommended for first-time users. Option 3 is for advanced users.*
+___________________________________________________________________________________
+## SECTION 4. Instructions for using Apache Fortress and ApacheDS LDAP server
+
+ * Follow these instructions: [README-TEN-MINUTE-GUIDE](./README-TEN-MINUTE-GUIDE.md)
+
+___________________________________________________________________________________
+## SECTION 5. Instructions for using Apache Fortress and Symas OpenLDAP server
+
+ * Follow these instructions: [README-QUICKSTART-SLAPD](./README-QUICKSTART-SLAPD.md)
+
+___________________________________________________________________________________
+## SECTION 6. Instructions for using Apache Fortress and native OpenLDAP server
+
+ Do these sections:
+
+ * SECTION 2. Download & Install
+ * SECTION 7. Instructions for configuring OpenLDAP
+ * SECTION 8. Instructions for using Apache Fortress with OpenLDAP
+ * SECTION 9. Instructions to integration test
+
+___________________________________________________________________________________
+## SECTION 7. Instructions for configuring OpenLDAP
1. Install OpenLDAP using preferred method.
@@ -316,7 +311,7 @@ Config Notes:
___________________________________________________________________________________
-## SECTION 9. Instructions for using Apache Fortress with OpenLDAP
+## SECTION 8. Instructions for using Apache Fortress with OpenLDAP
1. Copy FORTRESS_HOME/build.properties.example to build.properties and FORTRESS_HOME/slapd.properties.example to slapd.properties:
@@ -418,7 +413,7 @@ More usage notes of fortress build property files:
* Don't change the ant substitution parameters within the properties *unless you know what you're doing*. These are are the settings inside of curly brackets, e.g. **${param1}**.
___________________________________________________________________________________
-## SECTION 10. Instructions to integration test
+## SECTION 9. Instructions to integration test
1. From **FORTRESS_HOME** enter the following commands:
@@ -505,7 +500,7 @@ ________________________________________________________________________________
* Warning messages are negative tests in action.
___________________________________________________________________________________
-## SECTION 11. Instructions to load policy data using Apache Fortress Load utility
+## SECTION 10. Instructions to load policy data using Apache Fortress Load utility
The Load utility is useful to create base policy configurations that need to be rerun many times in different test and production environments.
For samples look here: [./ldap/setup](./ldap/setup).
@@ -526,7 +521,7 @@ Policy Load Notes:
* [./target/site/apidocs/org/apache/directory/fortress/core/ant/FortressAntTask.html](./target/site/apidocs/org/apache/directory/fortress/core/ant/FortressAntTask.html)
___________________________________________________________________________________
-## SECTION 12. Instructions to run the Apache Fortress Command Line Interpreter (CLI)
+## SECTION 11. Instructions to run the Apache Fortress Command Line Interpreter (CLI)
The CLI is useful for ad-hoc policy administration in runtime environments.
@@ -583,7 +578,7 @@ ________________________________________________________________________________
* [./target/site/apidocs/org/apache/directory/fortress/core/cli/package-summary.html/package-summary.html](./target/site/apidocs/org/apache/directory/fortress/core/cli/package-summary.html)
___________________________________________________________________________________
-## SECTION 13. Instructions to run the Apache Fortress Command Console
+## SECTION 12. Instructions to run the Apache Fortress Command Console
The Command Console is an interactive program that is allows ad-hoc edit and reporting on data stored in LDAP server.
@@ -686,7 +681,7 @@ CHOOSE ADMIN MANAGER FUNCTION:
6. etc... for PW Policy, ARBAC, Groups.
___________________________________________________________________________________
-## SECTION 14. Instructions to build and test the Apache Fortress samples
+## SECTION 13. Instructions to build and test the Apache Fortress samples
1. From **FORTRESS_HOME** enter the following command:
@@ -726,7 +721,7 @@ Sample Notes:
* The 2nd and subsequent times runs, it will tear down the data loaded during the prior run.
___________________________________________________________________________________
-## SECTION 15. Instructions to performance test
+## SECTION 14. Instructions to performance test
This section describes the Apache Fortress jmeter test programs.
@@ -766,7 +761,7 @@ ________________________________________________________________________________
The tests will run and produce measurements for throughput and latency.
___________________________________________________________________________________
-## SECTION 16. Instructions to encrypt LDAP passwords used in config files
+## SECTION 15. Instructions to encrypt LDAP passwords used in config files
If you need the passwords for LDAP service accounts to be encrypted before loading into Fortress properties files you can
use the 'encrypt' ant target.