Support PEM encrypted certificates.
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / KernelConstants.java
index 941fdb27540522611d81ffcabcd23f70a5b13a8f..7d14ae9e619d2492083501bcac9440f2e16d5551 100644 (file)
@@ -1,10 +1,9 @@
 package org.argeo.cms.internal.kernel;
 
-import org.argeo.node.NodeConstants;
+import org.argeo.api.NodeConstants;
 
+/** Internal CMS constants. */
 public interface KernelConstants {
-       String[] DEFAULT_CNDS = { "/org/argeo/jcr/argeo.cnd", "/org/argeo/cms/cms.cnd" };
-
        // Directories
        String DIR_NODE = "node";
        String DIR_REPOS = "repos";
@@ -14,6 +13,8 @@ public interface KernelConstants {
        // Files
        String DEPLOY_CONFIG_PATH = DIR_NODE + '/' + NodeConstants.DEPLOY_BASEDN + ".ldif";
        String DEFAULT_KEYSTORE_PATH = DIR_NODE + '/' + NodeConstants.NODE + ".p12";
+       String DEFAULT_PEM_KEY_PATH = DIR_NODE + '/' + NodeConstants.NODE + ".key";
+       String DEFAULT_PEM_CERT_PATH = DIR_NODE + '/' + NodeConstants.NODE + ".crt";
        String NODE_KEY_TAB_PATH = DIR_NODE + "/krb5.keytab";
 
        // Security
@@ -23,14 +24,29 @@ public interface KernelConstants {
        // Java
        String JAAS_CONFIG_PROP = "java.security.auth.login.config";
 
+       // DEFAULTS JCR PATH
+       String DEFAULT_HOME_BASE_PATH = "/home";
+       String DEFAULT_USERS_BASE_PATH = "/users";
+       String DEFAULT_GROUPS_BASE_PATH = "/groups";
+       
+       // KERBEROS
+       String DEFAULT_KERBEROS_SERVICE = "HTTP";
+
+       // HTTP client
+       String COOKIE_POLICY_BROWSER_COMPATIBILITY = "compatibility";
+
        // RWT / RAP
-       String PATH_WORKBENCH = "/ui";
-       String PATH_WORKBENCH_PUBLIC = PATH_WORKBENCH + "/public";
+       // String PATH_WORKBENCH = "/ui";
+       // String PATH_WORKBENCH_PUBLIC = PATH_WORKBENCH + "/public";
 
        String JETTY_FACTORY_PID = "org.eclipse.equinox.http.jetty.config";
        String WHITEBOARD_PATTERN_PROP = "osgi.http.whiteboard.servlet.pattern";
+       // default Jetty server configured via JettyConfigurator
+       String DEFAULT_JETTY_SERVER = "default";
+       String CMS_JETTY_CUSTOMIZER_CLASS = "org.argeo.equinox.jetty.CmsJettyCustomizer";
 
        // avoid dependencies
        String CONTEXT_NAME_PROP = "contextName";
        String JACKRABBIT_REPOSITORY_URI = "org.apache.jackrabbit.repository.uri";
+       String JACKRABBIT_REMOTE_DEFAULT_WORKSPACE = "org.apache.jackrabbit.spi2davex.WorkspaceNameDefault";
 }