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 2018/10/22 17:34:11 UTC
directory-fortress-enmasse git commit: cleanup
Repository: directory-fortress-enmasse
Updated Branches:
refs/heads/master 103e51880 -> 4a7e14ecb
cleanup
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/commit/4a7e14ec
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/tree/4a7e14ec
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/diff/4a7e14ec
Branch: refs/heads/master
Commit: 4a7e14ecb303bcd755a2af462524e515cce71937
Parents: 103e518
Author: Shawn McKinney <sm...@apache.org>
Authored: Fri Oct 19 07:57:43 2018 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Fri Oct 19 07:57:43 2018 -0500
----------------------------------------------------------------------
README.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/4a7e14ec/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 2905637..a2d4688 100644
--- a/README.md
+++ b/README.md
@@ -69,7 +69,7 @@ Everything else covered in steps that follow. Tested on Debian, Centos systems.
-------------------------------------------------------------------------------
## SECTION 2. Download & Install
-1. Build the source.
+#### 1. Build the source.
a. from git:
```
@@ -87,13 +87,13 @@ Everything else covered in steps that follow. Tested on Debian, Centos systems.
mvn clean install
```
-2. Now build the javadoc:
+#### 2. Now build the javadoc:
```
mvn javadoc:javadoc
```
-3. View the generated document here: [./target/site/apidocs/overview-summary.html](./target/site/apidocs/overview-summary.html).
+#### 3. View the generated document here: [./target/site/apidocs/overview-summary.html](./target/site/apidocs/overview-summary.html).
-------------------------------------------------------------------------------
## SECTION 3. Prepare Tomcat for Java EE Security
@@ -189,17 +189,17 @@ This web app uses Java EE security.
This sample requires Java 8 and Maven 3 to be setup within the execution env.
-#### 2. Build the sample and load test data:
+#### 2. Build and load test data:
```maven
- mvn install -Dload.file
+ mvn install -Dload.file=ldap/setup/FortressRestServerPolicy.xml
```
Build Notes:
* `-Dload.file` automatically loads the [directory-fortress-rest security policy](src/main/resources/FortressRestServerPolicy.xml) data into ldap.
* This load needs to happen just once for the default test cases to work and may be dropped from future `mvn` commands.
-#### 3. Deploy the sample to Tomcat:
+#### 3. Deploy to Tomcat:
a. If using autodeploy feature, verify the Tomcat auto-deploy options are set correctly in the [pom.xml](pom.xml) file:
```xml
@@ -232,7 +232,7 @@ This web app uses Java EE security.
d. To manually deploy app to Tomcat:
```bash
- cp target/rbac-abac-sample.war $TOMCAT_HOME/webapps
+ cp target/fortress-rest-[version].war $TOMCAT_HOME/webapps
```
* Where `$TOMCAT_HOME` points to the execution env.