directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-core git commit: cleanup
Date Fri, 22 Jan 2016 15:41:17 GMT
Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 0f399beae -> 30e530b0f


cleanup


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/30e530b0
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/30e530b0
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/30e530b0

Branch: refs/heads/master
Commit: 30e530b0fc800248ba374417e690a9bbaa42da84
Parents: 0f399be
Author: Shawn McKinney <smckinney@apache.org>
Authored: Fri Jan 22 08:45:24 2016 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Fri Jan 22 08:45:24 2016 -0600

----------------------------------------------------------------------
 README-MULTITENANCY.md | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/30e530b0/README-MULTITENANCY.md
----------------------------------------------------------------------
diff --git a/README-MULTITENANCY.md b/README-MULTITENANCY.md
index 74ad0a8..be54a26 100644
--- a/README-MULTITENANCY.md
+++ b/README-MULTITENANCY.md
@@ -74,12 +74,12 @@ Then tenant id is passed in factory initialization.  For example:
 
  ```
  <addcontainer>
-    <container name="acme123" description="ACME 123 tenant context"/>
+     <container name="acme123" description="ACME 123 tenant context"/>
  ...
  </addcontainer>
  ```
 
-2. Or simply use ldif format to create new tenant objects, and import using preferred ldap
client:
+2. Or, simply use ldif format to create new tenant objects, and import using preferred ldap
client:
  ```
  dn: ou=acme123, dc=example,dc=com
  ou: acme123
@@ -87,30 +87,30 @@ Then tenant id is passed in factory initialization.  For example:
  description: ACME 123 tenant context
  ```
 
-3. Now you may use the fortress load utility to initialize the DIT for that particular tenant.
 For example:
+3. After the tenant container is added, you may use the fortress load utility to initialize
the DIT for that particular tenant.  For example:
 
  ```
  <addcontainer>
-   <container name="People" description="Fortress People"/>
-   <container name="Policies" description="Fortress Policies"/>
-   <container name="RBAC" description="Fortress RBAC Policies"/>
-   <container name="Roles" parent="RBAC" description="Fortress Roles"/>
-   <container name="Permissions" parent="RBAC" description="Fortress Permissions"/>
-   <container name="Constraints" parent="RBAC" description="Fortress Separation of Duty
Constraints"/>
-   <container name="ARBAC" description="Fortress Administrative RBAC Policies"/>
-   <container name="OS-U" parent="ARBAC" description="Fortress User Organizational Units"/>
-   <container name="OS-P" parent="ARBAC" description="Fortress Perm Organizational Units"/>
-   <container name="AdminRoles" parent="ARBAC" description="Fortress AdminRoles"/>
-   <container name="AdminPerms" parent="ARBAC" description="Fortress Admin Permissions"/>
+     <container name="People" description="Fortress People"/>
+     <container name="Policies" description="Fortress Policies"/>
+     <container name="RBAC" description="Fortress RBAC Policies"/>
+     <container name="Roles" parent="RBAC" description="Fortress Roles"/>
+     <container name="Permissions" parent="RBAC" description="Fortress Permissions"/>
+     <container name="Constraints" parent="RBAC" description="Fortress Separation of Duty
Constraints"/>
+     <container name="ARBAC" description="Fortress Administrative RBAC Policies"/>
+     <container name="OS-U" parent="ARBAC" description="Fortress User Organizational Units"/>
+     <container name="OS-P" parent="ARBAC" description="Fortress Perm Organizational Units"/>
+     <container name="AdminRoles" parent="ARBAC" description="Fortress AdminRoles"/>
+     <container name="AdminPerms" parent="ARBAC" description="Fortress Admin Permissions"/>
  </addcontainer>
  ```
 
-4. And when running the load, pass the tenant id:
+4. And when running the fortress load, pass the tenant id as a -D parameter:
  ```
  mvn install -Dload.file=./ldap/setup/MyLoadFile.xml -Dtenant=acme123
  ```
 
- Passing tenant system properties scopes all subsequent fortress xml load operations to that
particular tenant.
+ Passing the tenant system property scopes all subsequent load operations to that particular
tenant.
 
 ___________________________________________________________________________________
 ## SECTION 5.  Unit Testing


Mime
View raw message