View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.jetspeed.administration;
18  
19  /***
20   * PortalConfiguration portal configuration contants
21   * TODO: integrate Configuration with JMX 
22   * 
23   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
24   * @version $Id: $
25   */
26  public interface PortalConfigurationConstants
27  {
28      /*** EMAIL */
29      /*** email of the system administrator */
30      static final String EMAIL_ADMIN = "email.admin";
31      /*** email of the system manager */
32      static final String EMAIL_MANAGER = "email.manager";
33      /*** email sender */
34      static final String EMAIL_SENDER = "email.sender";
35      /*** email user info attribute **/
36      static final String EMAIL_USERINFO_ATTRIBUTE = "email.userinfo.attribute";
37      
38      /*** LAYOUT */
39      /*** the default page layout if none is specified */
40      static final String LAYOUT_PAGE_DEFAULT = "layout.page.default";
41      
42      /*** Decorators */
43      /*** default page decorator if none specified */
44      static final String DECORATOR_PAGE_DEFAULT = "decorator.page.default";
45      /*** default portlet decorator if none specified */    
46      static final String DECORATOR_PORTLET_DEFAULT = "decorator.portlet.default";
47      
48      /*** PSML **/
49      /*** default psml page */
50      static final String PSML_PAGE_DEFAULT = "psml.page.default";
51      
52      /*** PSML Templates */
53      /*** PSML Folder Template to copy during new user creation and registration */
54      static final String PSML_TEMPLATE_FOLDER = "psml.template.folder";
55      
56      /*** PROFILER **/
57      static final String PROFILER_RULE_NAMES_DEFAULT = "profiler.rule.names.default";
58      static final String PROFILER_RULE_VALUES_DEFAULT = "profiler.rule.values.default";
59      
60      /*** Registration */ 
61      /*** Registration default Roles assigned during registration or new user creation **/
62      static final String REGISTRATION_ROLES_DEFAULT = "registration.roles.default";
63      /*** Registration default groups assigned during registration or new user creation **/    
64      static final String REGISTRATION_GROUPS_DEFAULT = "registration.groups.default";
65      /*** Registration default profiling rules assigned during registration or new user creation **/        
66      static final String REGISTRATION_RULES_DEFAULT = "registration.rules.default";
67      
68      /*** Users */
69      static final String USERS_DEFAULT_ADMIN = "default.admin.user";
70      static final String USERS_DEFAULT_GUEST = "default.user.principal";    
71      static final String ROLES_DEFAULT_ADMIN = "default.admin.role";    
72      static final String ROLES_DEFAULT_MANAGER = "default.manager.role";
73      static final String ROLES_DEFAULT_USER = "default.user.role";
74      static final String ROLES_DEFAULT_GUEST = "default.guest.role";
75      
76  }