1 package org
.argeo
.node
;
3 public interface NodeConstants
{
7 String NODE_STATE_PID
= "org.argeo.node.state";
8 String NODE_DEPLOYMENT_PID
= "org.argeo.node.deployment";
9 String NODE_INSTANCE_PID
= "org.argeo.node.instance";
11 String NODE_USER_ADMIN_PID
= "org.argeo.node.userAdmin";
12 String NODE_KEYRING_PID
= "org.argeo.node.keyring";
17 String NODE_REPOS_FACTORY_PID
= "org.argeo.node.repos";
18 String NODE_USER_DIRECTORIES_FACTORY_PID
= "org.argeo.node.userDirectories";
21 * DN ATTRIBUTES (RFC 4514)
29 String STREET
= "street";
36 String LABELED_URI
= "labeledUri";
47 String DEPLOY_BASEDN
= "ou=deploy,ou=node";
52 String DEFAULT
= "default";
57 String ROLES_BASEDN
= "ou=roles,ou=node";
58 String ROLE_ADMIN
= "cn=admin," + ROLES_BASEDN
;
59 String ROLE_USER_ADMIN
= "cn=userAdmin," + ROLES_BASEDN
;
60 String ROLE_DATA_ADMIN
= "cn=dataAdmin," + ROLES_BASEDN
;
61 // Special system groups that cannot be edited:
62 // user U anonymous = everyone
63 String ROLE_USER
= "cn=user," + ROLES_BASEDN
;
64 String ROLE_ANONYMOUS
= "cn=anonymous," + ROLES_BASEDN
;
69 String LOGIN_CONTEXT_USER
= "USER";
70 // String LOGIN_CONTEXT_ANONYMOUS = "ANONYMOUS";
71 String LOGIN_CONTEXT_DATA_ADMIN
= "DATA_ADMIN";
72 String LOGIN_CONTEXT_SINGLE_USER
= "SINGLE_USER";
77 String PATH_DATA
= "/data";
78 String PATH_JCR
= "/jcr";
79 String PATH_JCR_PUB
= "/pub";
82 * FRAMEWORK PROPERTIES
84 String NODE_INIT
= "argeo.node.init";
85 String I18N_DEFAULT_LOCALE
= "argeo.i18n.defaultLocale";
86 String I18N_LOCALES
= "argeo.i18n.locales";
88 String ROLES_URI
= "argeo.node.roles.uri";
89 /** URI to an LDIF file or LDAP server used as initialization or backend */
90 String USERADMIN_URIS
= "argeo.node.useradmin.uris";
92 /** Properties configuring the node repository */
93 String NODE_REPO_PROP_PREFIX
= "argeo.node.repo.";
99 // String ARGEO_BASE_PATH = "/argeo:system";
101 // String PEOPLE_BASE_PATH = NodeConstants.ARGEO_BASE_PATH +
104 // String DATA_MODELS_BASE_PATH = NodeConstants.ARGEO_BASE_PATH +
105 // "/argeo:dataModels";
107 // String ALIAS_HOME = "home";
110 * Reserved alias for the "node" {@link Repository}, that is, the default
114 // String ALIAS_NODE = "node";
115 /** Key for a JCR repository URI */
117 // String JCR_REPOSITORY_URI = "argeo.jcr.repository.uri";
118 // parameters (typically for call to a RepositoryFactory)
119 /** Key for a JCR repository alias */
121 // String JCR_REPOSITORY_ALIAS = "argeo.jcr.repository.alias";