001/* 002 * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser General Public License 006 * (LGPL) version 2.1 which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/lgpl-2.1.html 008 * 009 * This library is distributed in the hope that it will be useful, 010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 012 * Lesser General Public License for more details. 013 * 014 * Contributors: 015 * Thomas Roger <troger@nuxeo.com> 016 */ 017 018package org.nuxeo.ecm.multi.tenant; 019 020/** 021 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a> 022 * @since 5.6 023 */ 024public class Constants { 025 026 private Constants() { 027 // Constants class 028 } 029 030 public static final String TENANT_CONFIG_FACET = "TenantConfig"; 031 032 public static final String TENANT_CONFIG_SCHEMA = "tenantconfig"; 033 034 public static final String TENANT_ID_PROPERTY = TENANT_CONFIG_SCHEMA + ":tenantId"; 035 036 public static final String TENANT_ADMINISTRATORS_PROPERTY = TENANT_CONFIG_SCHEMA + ":administrators"; 037 038 public static final String TENANTS_DIRECTORY = "tenants"; 039 040 // tenant-tenantid_tenantAdministrators 041 public static final String TENANT_GROUP_PREFIX = "tenant-"; 042 043 public static final String TENANT_ADMINISTRATORS_GROUP_SUFFIX = "_tenantAdministrators"; 044 045 public static final String TENANT_MEMBERS_GROUP_SUFFIX = "_tenantMembers"; 046 047 public static final String POWER_USERS_GROUP = "powerusers"; 048 049}