HTTP GET support for ACR.
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsConstants.java
index 98364d97b9781220cb3f1c4e2725dd4ed1f143a2..bae874b1652e85f4ac28d372e0aa206b19abaf39 100644 (file)
@@ -35,6 +35,12 @@ 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 +55,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
@@ -68,6 +75,7 @@ public interface CmsConstants {
        String PATH_JCR = "/jcr";
        String PATH_FILES = "/files";
        // String PATH_JCR_PUB = "/pub";
+       String PATH_API_ACR = "/api/acr";
 
        /*
         * FILE SYSTEMS
@@ -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