Improve ACR
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsConstants.java
index 98364d97b9781220cb3f1c4e2725dd4ed1f143a2..29cf12e2b0c5f33a68a589aecdc3a397d9ba1399 100644 (file)
@@ -35,6 +35,13 @@ public interface CmsConstants {
        String GUESTS_WORKSPACE = "guests";
        String PUBLIC_WORKSPACE = "public";
        String SECURITY_WORKSPACE = "security";
+       String MIGRATION_WORKSPACE = "migration";
+       
+       /*
+        * ACR CONVENTIONS
+        */
+       String SRV_BASE = "/srv";
+       
 
        /*
         * BASE DNs
@@ -49,17 +56,18 @@ public interface CmsConstants {
        /*
         * RESERVED ROLES
         */
-       String ROLES_BASEDN = "ou=roles,ou=node";
+       String NODE_BASEDN = "ou=node";
+       String SYSTEM_ROLES_BASEDN = "ou=roles," + NODE_BASEDN;
        String TOKENS_BASEDN = "ou=tokens,ou=node";
-       String ROLE_ADMIN = "cn=admin," + ROLES_BASEDN;
-       String ROLE_USER_ADMIN = "cn=userAdmin," + ROLES_BASEDN;
-       String ROLE_DATA_ADMIN = "cn=dataAdmin," + ROLES_BASEDN;
+       String ROLE_ADMIN = "cn=admin," + SYSTEM_ROLES_BASEDN;
+       String ROLE_USER_ADMIN = "cn=userAdmin," + SYSTEM_ROLES_BASEDN;
+       String ROLE_DATA_ADMIN = "cn=dataAdmin," + SYSTEM_ROLES_BASEDN;
        // Special system groups that cannot be edited:
        // user U anonymous = everyone
-       String ROLE_USER = "cn=user," + ROLES_BASEDN;
-       String ROLE_ANONYMOUS = "cn=anonymous," + ROLES_BASEDN;
+       String ROLE_USER = "cn=user," + SYSTEM_ROLES_BASEDN;
+       String ROLE_ANONYMOUS = "cn=anonymous," + SYSTEM_ROLES_BASEDN;
        // Account lifecycle
-       String ROLE_REGISTERING = "cn=registering," + ROLES_BASEDN;
+       String ROLE_REGISTERING = "cn=registering," + SYSTEM_ROLES_BASEDN;
 
        /*
         * PATHS
@@ -83,7 +91,9 @@ public interface CmsConstants {
         * COMPONENT PROPERTIES
         */
        String CONTEXT_PATH = "context.path";
+       String CONTEXT_PUBLIC = "context.public";
        String EVENT_TOPICS = "event.topics";
+       String ACR_MOUNT_PATH = "acr.mount.path";
 
        /*
         * FILE SYSTEM