001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.util;
022:
023: import com.liferay.portal.kernel.util.GetterUtil;
024: import com.liferay.portal.kernel.util.StringPool;
025: import com.liferay.portal.kernel.util.StringUtil;
026:
027: /**
028: * <a href="PropsValues.java.html"><b><i>View Source</i></b></a>
029: *
030: * @author Brian Wing Shun Chan
031: *
032: */
033: public class PropsValues {
034:
035: public static final String[] ADMIN_DEFAULT_GROUP_NAMES = StringUtil
036: .split(PropsUtil.get(PropsUtil.ADMIN_DEFAULT_GROUP_NAMES),
037: StringPool.NEW_LINE);
038:
039: public static final String[] ADMIN_DEFAULT_ROLE_NAMES = StringUtil
040: .split(PropsUtil.get(PropsUtil.ADMIN_DEFAULT_ROLE_NAMES),
041: StringPool.NEW_LINE);
042:
043: public static final String[] ADMIN_DEFAULT_USER_GROUP_NAMES = StringUtil
044: .split(PropsUtil
045: .get(PropsUtil.ADMIN_DEFAULT_USER_GROUP_NAMES),
046: StringPool.NEW_LINE);
047:
048: public static final String[] ADMIN_MAIL_HOST_NAMES = StringUtil
049: .split(PropsUtil.get(PropsUtil.ADMIN_MAIL_HOST_NAMES),
050: StringPool.NEW_LINE);
051:
052: public static final String[] ADMIN_RESERVED_EMAIL_ADDRESSES = StringUtil
053: .split(PropsUtil
054: .get(PropsUtil.ADMIN_RESERVED_EMAIL_ADDRESSES),
055: StringPool.NEW_LINE);
056:
057: public static final String[] ADMIN_RESERVED_SCREEN_NAMES = StringUtil
058: .split(
059: PropsUtil
060: .get(PropsUtil.ADMIN_RESERVED_SCREEN_NAMES),
061: StringPool.NEW_LINE);
062:
063: public static final boolean AUTH_FORWARD_BY_LAST_PATH = GetterUtil
064: .getBoolean(PropsUtil
065: .get(PropsUtil.AUTH_FORWARD_BY_LAST_PATH));
066:
067: public static final boolean AUTH_FORWARD_BY_REDIRECT = GetterUtil
068: .getBoolean(PropsUtil
069: .get(PropsUtil.AUTH_FORWARD_BY_REDIRECT));
070:
071: public static final boolean AUTH_PIPELINE_ENABLE_LIFERAY_CHECK = GetterUtil
072: .getBoolean(PropsUtil
073: .get(PropsUtil.AUTH_PIPELINE_ENABLE_LIFERAY_CHECK));
074:
075: public static final boolean AUTH_SIMULTANEOUS_LOGINS = GetterUtil
076: .getBoolean(PropsUtil
077: .get(PropsUtil.AUTH_SIMULTANEOUS_LOGINS));
078:
079: public static final int AUTO_DEPLOY_BLACKLIST_THRESHOLD = GetterUtil
080: .getInteger(PropsUtil
081: .get(PropsUtil.AUTO_DEPLOY_BLACKLIST_THRESHOLD));
082:
083: public static final boolean AUTO_DEPLOY_CUSTOM_PORTLET_XML = GetterUtil
084: .getBoolean(PropsUtil
085: .get(PropsUtil.AUTO_DEPLOY_CUSTOM_PORTLET_XML));
086:
087: public static final String AUTO_DEPLOY_DEFAULT_DEST_DIR = PropsUtil
088: .get(PropsUtil.AUTO_DEPLOY_DEFAULT_DEST_DIR);
089:
090: public static final String AUTO_DEPLOY_DEPLOY_DIR = PropsUtil
091: .get(PropsUtil.AUTO_DEPLOY_DEPLOY_DIR);
092:
093: public static final String AUTO_DEPLOY_DEST_DIR = PropsUtil
094: .get(PropsUtil.AUTO_DEPLOY_DEST_DIR);
095:
096: public static final boolean AUTO_DEPLOY_ENABLED = GetterUtil
097: .getBoolean(PropsUtil.get(PropsUtil.AUTO_DEPLOY_ENABLED));
098:
099: public static final int AUTO_DEPLOY_INTERVAL = GetterUtil
100: .getInteger(PropsUtil.get(PropsUtil.AUTO_DEPLOY_INTERVAL));
101:
102: public static final String AUTO_DEPLOY_JBOSS_PREFIX = PropsUtil
103: .get(PropsUtil.AUTO_DEPLOY_JBOSS_PREFIX);
104:
105: public static final String AUTO_DEPLOY_TOMCAT_CONF_DIR = PropsUtil
106: .get(PropsUtil.AUTO_DEPLOY_TOMCAT_CONF_DIR);
107:
108: public static final String AUTO_DEPLOY_TOMCAT_DEST_DIR = PropsUtil
109: .get(PropsUtil.AUTO_DEPLOY_TOMCAT_DEST_DIR);
110:
111: public static final String AUTO_DEPLOY_TOMCAT_LIB_DIR = PropsUtil
112: .get(PropsUtil.AUTO_DEPLOY_TOMCAT_LIB_DIR);
113:
114: public static final boolean AUTO_DEPLOY_UNPACK_WAR = GetterUtil
115: .getBoolean(PropsUtil.get(PropsUtil.AUTO_DEPLOY_UNPACK_WAR));
116:
117: public static final String[] AUTO_LOGIN_HOOKS = PropsUtil
118: .getArray(PropsUtil.AUTO_LOGIN_HOOKS);
119:
120: public static final int BLOGS_PAGE_ABSTRACT_LENGTH = GetterUtil
121: .getInteger(PropsUtil
122: .get(PropsUtil.BLOGS_PAGE_ABSTRACT_LENGTH));
123:
124: public static final int CAPTCHA_MAX_CHALLENGES = GetterUtil
125: .getInteger(PropsUtil.get(PropsUtil.CAPTCHA_MAX_CHALLENGES));
126:
127: public static final boolean CAS_AUTH_ENABLED = GetterUtil
128: .getBoolean(PropsUtil.get(PropsUtil.CAS_AUTH_ENABLED));
129:
130: public static final boolean COMMONS_POOL_ENABLED = GetterUtil
131: .getBoolean(PropsUtil.get(PropsUtil.COMMONS_POOL_ENABLED));
132:
133: public static final boolean COMPANY_SECURITY_AUTH_REQUIRES_HTTPS = GetterUtil
134: .getBoolean(PropsUtil
135: .get(PropsUtil.COMPANY_SECURITY_AUTH_REQUIRES_HTTPS));
136:
137: public static final String COMPANY_SECURITY_AUTH_TYPE = PropsUtil
138: .get(PropsUtil.COMPANY_SECURITY_AUTH_TYPE);
139:
140: public static final boolean COMPANY_SECURITY_AUTO_LOGIN = GetterUtil
141: .getBoolean(PropsUtil
142: .get(PropsUtil.COMPANY_SECURITY_AUTO_LOGIN));
143:
144: public static final int COMPANY_SECURITY_AUTO_LOGIN_MAX_AGE = GetterUtil
145: .getInteger(
146: PropsUtil
147: .get(PropsUtil.COMPANY_SECURITY_AUTO_LOGIN_MAX_AGE),
148: CookieKeys.MAX_AGE);
149:
150: public static final boolean COMPANY_SECURITY_COMMUNITY_LOGO = GetterUtil
151: .getBoolean(PropsUtil
152: .get(PropsUtil.COMPANY_SECURITY_COMMUNITY_LOGO));
153:
154: public static final boolean COMPANY_SECURITY_SEND_PASSWORD = GetterUtil
155: .getBoolean(PropsUtil
156: .get(PropsUtil.COMPANY_SECURITY_SEND_PASSWORD));
157:
158: public static final boolean COMPANY_SECURITY_STRANGERS = GetterUtil
159: .getBoolean(PropsUtil
160: .get(PropsUtil.COMPANY_SECURITY_STRANGERS));
161:
162: public static final boolean COMPANY_SECURITY_STRANGERS_VERIFY = GetterUtil
163: .getBoolean(PropsUtil
164: .get(PropsUtil.COMPANY_SECURITY_STRANGERS_VERIFY));
165:
166: public static final boolean COMPANY_SECURITY_STRANGERS_WITH_MX = GetterUtil
167: .getBoolean(PropsUtil
168: .get(PropsUtil.COMPANY_SECURITY_STRANGERS_WITH_MX));
169:
170: public static final String DEFAULT_ADMIN_EMAIL_ADDRESS_PREFIX = PropsUtil
171: .get(PropsUtil.DEFAULT_ADMIN_EMAIL_ADDRESS_PREFIX);
172:
173: public static final String DEFAULT_ADMIN_FIRST_NAME = PropsUtil
174: .get(PropsUtil.DEFAULT_ADMIN_FIRST_NAME);
175:
176: public static final String DEFAULT_ADMIN_LAST_NAME = PropsUtil
177: .get(PropsUtil.DEFAULT_ADMIN_LAST_NAME);
178:
179: public static final String DEFAULT_ADMIN_MIDDLE_NAME = PropsUtil
180: .get(PropsUtil.DEFAULT_ADMIN_MIDDLE_NAME);
181:
182: public static final String DEFAULT_ADMIN_PASSWORD = PropsUtil
183: .get(PropsUtil.DEFAULT_ADMIN_PASSWORD);
184:
185: public static final String DEFAULT_ADMIN_SCREEN_NAME = PropsUtil
186: .get(PropsUtil.DEFAULT_ADMIN_SCREEN_NAME);
187:
188: public static final String DEFAULT_LANDING_PAGE_PATH = PropsUtil
189: .get(PropsUtil.DEFAULT_LANDING_PAGE_PATH);
190:
191: public static final String DEFAULT_LOGOUT_PAGE_PATH = PropsUtil
192: .get(PropsUtil.DEFAULT_LOGOUT_PAGE_PATH);
193:
194: public static final String DEFAULT_REGULAR_COLOR_SCHEME_ID = PropsUtil
195: .get(PropsUtil.DEFAULT_REGULAR_COLOR_SCHEME_ID);
196:
197: public static final String DEFAULT_REGULAR_THEME_ID = PropsUtil
198: .get(PropsUtil.DEFAULT_REGULAR_THEME_ID);
199:
200: public static final String DEFAULT_USER_LAYOUT_NAME = PropsUtil
201: .get(PropsUtil.DEFAULT_USER_LAYOUT_NAME);
202:
203: public static final String DEFAULT_USER_LAYOUT_TEMPLATE_ID = PropsUtil
204: .get(PropsUtil.DEFAULT_USER_LAYOUT_TEMPLATE_ID);
205:
206: public static final String DEFAULT_USER_PRIVATE_LAYOUT_LAR = PropsUtil
207: .get(PropsUtil.DEFAULT_USER_PRIVATE_LAYOUT_LAR);
208:
209: public static final String DEFAULT_USER_PUBLIC_LAYOUT_LAR = PropsUtil
210: .get(PropsUtil.DEFAULT_USER_PUBLIC_LAYOUT_LAR);
211:
212: public static final String DEFAULT_WAP_COLOR_SCHEME_ID = PropsUtil
213: .get(PropsUtil.DEFAULT_WAP_COLOR_SCHEME_ID);
214:
215: public static final String DEFAULT_WAP_THEME_ID = PropsUtil
216: .get(PropsUtil.DEFAULT_WAP_THEME_ID);
217:
218: public static final String[] DL_FILE_EXTENSIONS = PropsUtil
219: .getArray(PropsUtil.DL_FILE_EXTENSIONS);
220:
221: public static final int DL_FILE_MAX_SIZE = GetterUtil
222: .getInteger(PropsUtil.get(PropsUtil.DL_FILE_MAX_SIZE));
223:
224: public static final String DL_HOOK_IMPL = PropsUtil
225: .get(PropsUtil.DL_HOOK_IMPL);
226:
227: public static final boolean DL_LAYOUTS_SYNC_ENABLED = GetterUtil
228: .getBoolean(PropsUtil
229: .get(PropsUtil.DL_LAYOUTS_SYNC_ENABLED));
230:
231: public static final String EDITOR_WYSIWYG_DEFAULT = PropsUtil
232: .get(PropsUtil.EDITOR_WYSIWYG_DEFAULT);
233:
234: public static final boolean FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_BIRTHDAY = GetterUtil
235: .getBoolean(PropsUtil
236: .get(PropsUtil.FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_BIRTHDAY));
237:
238: public static final boolean FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_MALE = GetterUtil
239: .getBoolean(PropsUtil
240: .get(PropsUtil.FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_MALE));
241:
242: public static final boolean FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_ORGANIZATION_STATUS = GetterUtil
243: .getBoolean(PropsUtil
244: .get(PropsUtil.FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_ORGANIZATION_STATUS));
245:
246: public static final String[] IG_IMAGE_EXTENSIONS = PropsUtil
247: .getArray(PropsUtil.IG_IMAGE_EXTENSIONS);
248:
249: public static final int IG_IMAGE_MAX_SIZE = GetterUtil
250: .getInteger(PropsUtil.get(PropsUtil.IG_IMAGE_MAX_SIZE));
251:
252: public static final int IG_IMAGE_THUMBNAIL_MAX_HEIGHT = GetterUtil
253: .getInteger(PropsUtil
254: .get(PropsUtil.IG_IMAGE_THUMBNAIL_MAX_HEIGHT));
255:
256: public static final int IG_IMAGE_THUMBNAIL_MAX_WIDTH = GetterUtil
257: .getInteger(PropsUtil
258: .get(PropsUtil.IG_IMAGE_THUMBNAIL_MAX_WIDTH));
259:
260: public static final boolean JABBER_XMPP_SERVER_ENABLED = GetterUtil
261: .getBoolean(PropsUtil
262: .get(PropsUtil.JABBER_XMPP_SERVER_ENABLED));
263:
264: public static final boolean JAVASCRIPT_FAST_LOAD = GetterUtil
265: .getBoolean(PropsUtil.get(PropsUtil.JAVASCRIPT_FAST_LOAD));
266:
267: public static final boolean JAVASCRIPT_LOG_ENABLED = GetterUtil
268: .getBoolean(PropsUtil.get(PropsUtil.JAVASCRIPT_LOG_ENABLED));
269:
270: public static final String JBI_WORKFLOW_URL = PropsUtil
271: .get(PropsUtil.JBI_WORKFLOW_URL);
272:
273: public static final boolean JOURNAL_ARTICLE_FORCE_AUTOGENERATE_ID = GetterUtil
274: .getBoolean(PropsUtil
275: .get(PropsUtil.JOURNAL_ARTICLE_FORCE_AUTOGENERATE_ID));
276:
277: public static final boolean JOURNAL_ARTICLE_FORCE_INCREMENT_VERSION = GetterUtil
278: .getBoolean(PropsUtil
279: .get(PropsUtil.JOURNAL_ARTICLE_FORCE_INCREMENT_VERSION));
280:
281: public static final boolean JOURNAL_FEED_FORCE_AUTOGENERATE_ID = GetterUtil
282: .getBoolean(PropsUtil
283: .get(PropsUtil.JOURNAL_FEED_FORCE_AUTOGENERATE_ID));
284:
285: public static final String JOURNAL_LAR_CREATION_STRATEGY = PropsUtil
286: .get(PropsUtil.JOURNAL_LAR_CREATION_STRATEGY);
287:
288: public static final boolean JOURNAL_STRUCTURE_FORCE_AUTOGENERATE_ID = GetterUtil
289: .getBoolean(PropsUtil
290: .get(PropsUtil.JOURNAL_STRUCTURE_FORCE_AUTOGENERATE_ID));
291:
292: public static final boolean JOURNAL_TEMPLATE_FORCE_AUTOGENERATE_ID = GetterUtil
293: .getBoolean(PropsUtil
294: .get(PropsUtil.JOURNAL_TEMPLATE_FORCE_AUTOGENERATE_ID));
295:
296: public static final boolean LAST_MODIFIED_CHECK = GetterUtil
297: .getBoolean(PropsUtil.get(PropsUtil.LAST_MODIFIED_CHECK));
298:
299: public static final String LAYOUT_CLONE_IMPL = PropsUtil
300: .get(PropsUtil.LAYOUT_CLONE_IMPL);
301:
302: public static final boolean LAYOUT_DEFAULT_P_L_RESET = GetterUtil
303: .getBoolean(PropsUtil
304: .get(PropsUtil.LAYOUT_DEFAULT_P_L_RESET));
305:
306: public static final String LAYOUT_DEFAULT_TEMPLATE_ID = PropsUtil
307: .get(PropsUtil.LAYOUT_DEFAULT_TEMPLATE_ID);
308:
309: public static final String LAYOUT_FRIENDLY_URL_PAGE_NOT_FOUND = PropsUtil
310: .get(PropsUtil.LAYOUT_FRIENDLY_URL_PAGE_NOT_FOUND);
311:
312: public static final String LAYOUT_FRIENDLY_URL_PRIVATE_GROUP_SERVLET_MAPPING = PropsUtil
313: .get(PropsUtil.LAYOUT_FRIENDLY_URL_PRIVATE_GROUP_SERVLET_MAPPING);
314:
315: public static final String LAYOUT_FRIENDLY_URL_PRIVATE_USER_SERVLET_MAPPING = PropsUtil
316: .get(PropsUtil.LAYOUT_FRIENDLY_URL_PRIVATE_USER_SERVLET_MAPPING);
317:
318: public static final String LAYOUT_FRIENDLY_URL_PUBLIC_SERVLET_MAPPING = PropsUtil
319: .get(PropsUtil.LAYOUT_FRIENDLY_URL_PUBLIC_SERVLET_MAPPING);
320:
321: public static final boolean LAYOUT_GUEST_SHOW_MAX_ICON = GetterUtil
322: .getBoolean(PropsUtil
323: .get(PropsUtil.LAYOUT_GUEST_SHOW_MAX_ICON));
324:
325: public static final boolean LAYOUT_GUEST_SHOW_MIN_ICON = GetterUtil
326: .getBoolean(PropsUtil
327: .get(PropsUtil.LAYOUT_GUEST_SHOW_MIN_ICON));
328:
329: public static final boolean LAYOUT_PARALLEL_RENDER_ENABLE = GetterUtil
330: .getBoolean(PropsUtil
331: .get(PropsUtil.LAYOUT_PARALLEL_RENDER_ENABLE));
332:
333: public static final boolean LAYOUT_REMEMBER_REQUEST_WINDOW_STATE_MAXIMIZED = GetterUtil
334: .getBoolean(PropsUtil
335: .get(PropsUtil.LAYOUT_REMEMBER_REQUEST_WINDOW_STATE_MAXIMIZED));
336:
337: public static final boolean LAYOUT_REMEMBER_SESSION_WINDOW_STATE_MAXIMIZED = GetterUtil
338: .getBoolean(PropsUtil
339: .get(PropsUtil.LAYOUT_REMEMBER_SESSION_WINDOW_STATE_MAXIMIZED));
340:
341: public static final boolean LAYOUT_SHOW_HTTP_STATUS = GetterUtil
342: .getBoolean(PropsUtil
343: .get(PropsUtil.LAYOUT_SHOW_HTTP_STATUS));
344:
345: public static final boolean LAYOUT_SHOW_PORTLET_ACCESS_DENIED = GetterUtil
346: .getBoolean(PropsUtil
347: .get(PropsUtil.LAYOUT_SHOW_PORTLET_ACCESS_DENIED));
348:
349: public static final boolean LAYOUT_SHOW_PORTLET_INACTIVE = GetterUtil
350: .getBoolean(PropsUtil
351: .get(PropsUtil.LAYOUT_SHOW_PORTLET_INACTIVE));
352:
353: public static final boolean LAYOUT_TEMPLATE_CACHE_ENABLED = GetterUtil
354: .getBoolean(PropsUtil
355: .get(PropsUtil.LAYOUT_TEMPLATE_CACHE_ENABLED));
356:
357: public static final String LDAP_ATTRS_TRANSFORMER_IMPL = PropsUtil
358: .get(PropsUtil.LDAP_ATTRS_TRANSFORMER_IMPL);
359:
360: public static final boolean LDAP_AUTH_ENABLED = GetterUtil
361: .getBoolean(PropsUtil.get(PropsUtil.LDAP_AUTH_ENABLED));
362:
363: public static final boolean LDAP_EXPORT_ENABLED = GetterUtil
364: .getBoolean(PropsUtil.get(PropsUtil.LDAP_EXPORT_ENABLED));
365:
366: public static final boolean LDAP_IMPORT_ENABLED = GetterUtil
367: .getBoolean(PropsUtil.get(PropsUtil.LDAP_IMPORT_ENABLED));
368:
369: public static final boolean LDAP_PASSWORD_POLICY_ENABLED = GetterUtil
370: .getBoolean(PropsUtil
371: .get(PropsUtil.LDAP_PASSWORD_POLICY_ENABLED));
372:
373: public static final String LDAP_USER_IMPL = PropsUtil
374: .get(PropsUtil.LDAP_USER_IMPL);
375:
376: public static final boolean LOCALE_DEFAULT_REQUEST = GetterUtil
377: .getBoolean(PropsUtil.get(PropsUtil.LOCALE_DEFAULT_REQUEST));
378:
379: public static final String[] LOCALES = PropsUtil
380: .getArray(PropsUtil.LOCALES);
381:
382: public static final String[] LOGIN_EVENTS_POST = PropsUtil
383: .getArray(PropsUtil.LOGIN_EVENTS_POST);
384:
385: public static final String[] LOGIN_EVENTS_PRE = PropsUtil
386: .getArray(PropsUtil.LOGIN_EVENTS_PRE);
387:
388: public static final boolean LOOK_AND_FEEL_MODIFIABLE = GetterUtil
389: .getBoolean(PropsUtil
390: .get(PropsUtil.LOOK_AND_FEEL_MODIFIABLE));
391:
392: public static final String LUCENE_DIR = PropsUtil
393: .get(PropsUtil.LUCENE_DIR);
394:
395: public static final String LUCENE_FILE_EXTRACTOR = PropsUtil
396: .get(PropsUtil.LUCENE_FILE_EXTRACTOR);
397:
398: public static final String LUCENE_FILE_EXTRACTOR_REGEXP_STRIP = PropsUtil
399: .get(PropsUtil.LUCENE_FILE_EXTRACTOR_REGEXP_STRIP);
400:
401: public static final boolean LUCENE_STORE_JDBC_AUTO_CLEAN_UP = GetterUtil
402: .getBoolean(PropsUtil
403: .get(PropsUtil.LUCENE_STORE_JDBC_AUTO_CLEAN_UP));
404:
405: public static final String LUCENE_STORE_TYPE = PropsUtil
406: .get(PropsUtil.LUCENE_STORE_TYPE);
407:
408: public static final String MAIL_HOOK_IMPL = PropsUtil
409: .get(PropsUtil.MAIL_HOOK_IMPL);
410:
411: public static final boolean MAIL_MX_UPDATE = GetterUtil
412: .getBoolean(PropsUtil.get(PropsUtil.MAIL_MX_UPDATE));
413:
414: public static final boolean MESSAGE_BOARDS_ANONYMOUS_POSTING_ENABLED = GetterUtil
415: .getBoolean(PropsUtil
416: .get(PropsUtil.MESSAGE_BOARDS_ANONYMOUS_POSTING_ENABLED));
417:
418: public static final int MESSAGE_BOARDS_EXPIRE_BAN_INTERVAL = GetterUtil
419: .getInteger(PropsUtil
420: .get(PropsUtil.MESSAGE_BOARDS_EXPIRE_BAN_INTERVAL));
421:
422: public static final boolean MY_PLACES_SHOW_COMMUNITY_PRIVATE_SITES_WITH_NO_LAYOUTS = GetterUtil
423: .getBoolean(PropsUtil
424: .get(PropsUtil.MY_PLACES_SHOW_COMMUNITY_PRIVATE_SITES_WITH_NO_LAYOUTS));
425:
426: public static final boolean MY_PLACES_SHOW_COMMUNITY_PUBLIC_SITES_WITH_NO_LAYOUTS = GetterUtil
427: .getBoolean(PropsUtil
428: .get(PropsUtil.MY_PLACES_SHOW_COMMUNITY_PUBLIC_SITES_WITH_NO_LAYOUTS));
429:
430: public static final boolean MY_PLACES_SHOW_ORGANIZATION_PRIVATE_SITES_WITH_NO_LAYOUTS = GetterUtil
431: .getBoolean(PropsUtil
432: .get(PropsUtil.MY_PLACES_SHOW_ORGANIZATION_PRIVATE_SITES_WITH_NO_LAYOUTS));
433:
434: public static final boolean MY_PLACES_SHOW_ORGANIZATION_PUBLIC_SITES_WITH_NO_LAYOUTS = GetterUtil
435: .getBoolean(PropsUtil
436: .get(PropsUtil.MY_PLACES_SHOW_ORGANIZATION_PUBLIC_SITES_WITH_NO_LAYOUTS));
437:
438: public static final boolean MY_PLACES_SHOW_USER_PRIVATE_SITES_WITH_NO_LAYOUTS = GetterUtil
439: .getBoolean(PropsUtil
440: .get(PropsUtil.MY_PLACES_SHOW_USER_PRIVATE_SITES_WITH_NO_LAYOUTS));
441:
442: public static final boolean MY_PLACES_SHOW_USER_PUBLIC_SITES_WITH_NO_LAYOUTS = GetterUtil
443: .getBoolean(PropsUtil
444: .get(PropsUtil.MY_PLACES_SHOW_USER_PUBLIC_SITES_WITH_NO_LAYOUTS));
445:
446: public static final String NESTED_PORTLETS_LAYOUT_TEMPLATE_DEFAULT = PropsUtil
447: .get(PropsUtil.NESTED_PORTLETS_LAYOUT_TEMPLATE_DEFAULT);
448:
449: public static final long[] OMNIADMIN_USERS = StringUtil.split(
450: PropsUtil.get(PropsUtil.OMNIADMIN_USERS), 0L);
451:
452: public static final boolean OPEN_ID_AUTH_ENABLED = GetterUtil
453: .getBoolean(PropsUtil.get(PropsUtil.OPEN_ID_AUTH_ENABLED));
454:
455: public static final boolean OPEN_SSO_AUTH_ENABLED = GetterUtil
456: .getBoolean(PropsUtil.get(PropsUtil.OPEN_SSO_AUTH_ENABLED));
457:
458: public static final String OPEN_SSO_LOGIN_URL = PropsUtil
459: .get(PropsUtil.OPEN_SSO_LOGIN_URL);
460:
461: public static final String OPEN_SSO_LOGOUT_URL = PropsUtil
462: .get(PropsUtil.OPEN_SSO_LOGOUT_URL);
463:
464: public static final String OPEN_SSO_SERVICE_URL = PropsUtil
465: .get(PropsUtil.OPEN_SSO_SERVICE_URL);
466:
467: public static final String OPEN_SSO_SUBJECT_COOKIE_NAME = PropsUtil
468: .get(PropsUtil.OPEN_SSO_SUBJECT_COOKIE_NAME);
469:
470: public static final boolean OPENOFFICE_SERVER_ENABLED = GetterUtil
471: .getBoolean(PropsUtil
472: .get(PropsUtil.OPENOFFICE_SERVER_ENABLED));
473:
474: public static final String OPENOFFICE_SERVER_HOST = PropsUtil
475: .get(PropsUtil.OPENOFFICE_SERVER_HOST);
476:
477: public static final int OPENOFFICE_SERVER_PORT = GetterUtil
478: .getInteger(PropsUtil.get(PropsUtil.OPENOFFICE_SERVER_PORT));
479:
480: public static final boolean ORGANIZATIONS_COUNTRY_REQUIRED = GetterUtil
481: .getBoolean(PropsUtil
482: .get(PropsUtil.ORGANIZATIONS_COUNTRY_REQUIRED));
483:
484: public static final String PASSWORDS_DEFAULT_POLICY_NAME = PropsUtil
485: .get(PropsUtil.PASSWORDS_DEFAULT_POLICY_NAME);
486:
487: public static final String PASSWORDS_DIGEST_ENCODING = PropsUtil
488: .get(PropsUtil.PASSWORDS_DIGEST_ENCODING);
489:
490: public static final String PERMISSIONS_CHECKER = PropsUtil
491: .get(PropsUtil.PERMISSIONS_CHECKER);
492:
493: public static final boolean PLUGIN_NOTIFICATIONS_ENABLED = GetterUtil
494: .getBoolean(PropsUtil
495: .get(PropsUtil.PLUGIN_NOTIFICATIONS_ENABLED));
496:
497: public static final String[] PLUGIN_NOTIFICATIONS_PACKAGES_IGNORED = StringUtil
498: .split(
499: PropsUtil
500: .get(PropsUtil.PLUGIN_NOTIFICATIONS_PACKAGES_IGNORED),
501: StringPool.NEW_LINE);
502:
503: public static final String[] PLUGIN_REPOSITORIES_TRUSTED = StringUtil
504: .split(
505: PropsUtil
506: .get(PropsUtil.PLUGIN_REPOSITORIES_TRUSTED),
507: StringPool.NEW_LINE);
508:
509: public static final String[] PLUGIN_REPOSITORIES_UNTRUSTED = StringUtil
510: .split(PropsUtil
511: .get(PropsUtil.PLUGIN_REPOSITORIES_UNTRUSTED),
512: StringPool.NEW_LINE);
513:
514: public static final String[] PLUGIN_TYPES = PropsUtil
515: .getArray(PropsUtil.PLUGIN_TYPES);
516:
517: public static final boolean POP_SERVER_NOTIFICATIONS_ENABLED = GetterUtil
518: .getBoolean(PropsUtil
519: .get(PropsUtil.POP_SERVER_NOTIFICATIONS_ENABLED));
520:
521: public static final String POP_SERVER_SUBDOMAIN = PropsUtil
522: .get(PropsUtil.POP_SERVER_SUBDOMAIN);
523:
524: public static final boolean PORTAL_IMPERSONATION_ENABLE = GetterUtil
525: .getBoolean(PropsUtil
526: .get(PropsUtil.PORTAL_IMPERSONATION_ENABLE));
527:
528: public static final boolean PORTAL_JAAS_ENABLE = GetterUtil
529: .getBoolean(PropsUtil.get(PropsUtil.PORTAL_JAAS_ENABLE));
530:
531: public static final String PORTAL_JAAS_IMPL = PropsUtil
532: .get(PropsUtil.PORTAL_JAAS_IMPL);
533:
534: public static final boolean PORTAL_JAAS_STRICT_PASSWORD = GetterUtil
535: .getBoolean(PropsUtil
536: .get(PropsUtil.PORTAL_JAAS_STRICT_PASSWORD));
537:
538: public static final boolean PORTLET_CSS_ENABLED = GetterUtil
539: .getBoolean(PropsUtil.get(PropsUtil.PORTLET_CSS_ENABLED));
540:
541: public static final boolean PORTLET_URL_ANCHOR_ENABLE = GetterUtil
542: .getBoolean(PropsUtil
543: .get(PropsUtil.PORTLET_URL_ANCHOR_ENABLE));
544:
545: public static final String PORTLET_VIRTUAL_PATH = PropsUtil
546: .get(PropsUtil.PORTLET_VIRTUAL_PATH);
547:
548: public static final boolean PREFERENCE_VALIDATE_ON_STARTUP = GetterUtil
549: .getBoolean(PropsUtil
550: .get(PropsUtil.PREFERENCE_VALIDATE_ON_STARTUP));
551:
552: public static final boolean REVERSE_AJAX_ENABLED = GetterUtil
553: .getBoolean(PropsUtil.get(PropsUtil.REVERSE_AJAX_ENABLED));
554:
555: public static final int REVERSE_AJAX_HEARTBEAT = GetterUtil
556: .getInteger(PropsUtil.get(PropsUtil.REVERSE_AJAX_HEARTBEAT));
557:
558: public static final String[] SERVLET_SERVICE_EVENTS_POST = PropsUtil
559: .getArray(PropsUtil.SERVLET_SERVICE_EVENTS_POST);
560:
561: public static final String[] SERVLET_SERVICE_EVENTS_PRE = PropsUtil
562: .getArray(PropsUtil.SERVLET_SERVICE_EVENTS_PRE);
563:
564: public static final String SERVLET_SERVICE_EVENTS_PRE_ERROR_PAGE = PropsUtil
565: .get(PropsUtil.SERVLET_SERVICE_EVENTS_PRE_ERROR_PAGE);
566:
567: public static final String SESSION_COOKIE_DOMAIN = PropsUtil
568: .get(PropsUtil.SESSION_COOKIE_DOMAIN);
569:
570: public static final boolean SESSION_DISABLED = GetterUtil
571: .getBoolean(PropsUtil.get(PropsUtil.SESSION_DISABLED));
572:
573: public static final boolean SESSION_ENABLE_PERSISTENT_COOKIES = GetterUtil
574: .getBoolean(PropsUtil
575: .get(PropsUtil.SESSION_ENABLE_PERSISTENT_COOKIES));
576:
577: public static final boolean SESSION_ENABLE_PHISHING_PROTECTION = GetterUtil
578: .getBoolean(PropsUtil
579: .get(PropsUtil.SESSION_ENABLE_PHISHING_PROTECTION));
580:
581: public static final boolean SESSION_TEST_COOKIE_SUPPORT = GetterUtil
582: .getBoolean(PropsUtil
583: .get(PropsUtil.SESSION_TEST_COOKIE_SUPPORT));
584:
585: public static int SESSION_TIMEOUT = GetterUtil.getInteger(PropsUtil
586: .get(PropsUtil.SESSION_TIMEOUT));
587:
588: public static final boolean SESSION_TIMEOUT_AUTO_EXTEND = GetterUtil
589: .getBoolean(PropsUtil
590: .get(PropsUtil.SESSION_TIMEOUT_AUTO_EXTEND));
591:
592: public static final int SESSION_TIMEOUT_WARNING = GetterUtil
593: .getInteger(PropsUtil
594: .get(PropsUtil.SESSION_TIMEOUT_WARNING));
595:
596: public static final boolean SESSION_TRACKER_FRIENDLY_PATHS_ENABLED = GetterUtil
597: .getBoolean(PropsUtil
598: .get(PropsUtil.SESSION_TRACKER_FRIENDLY_PATHS_ENABLED));
599:
600: public static final boolean SESSION_TRACKER_MEMORY_ENABLED = GetterUtil
601: .getBoolean(PropsUtil
602: .get(PropsUtil.SESSION_TRACKER_MEMORY_ENABLED));
603:
604: public static final boolean SESSION_TRACKER_PERSISTENCE_ENABLED = GetterUtil
605: .getBoolean(PropsUtil
606: .get(PropsUtil.SESSION_TRACKER_PERSISTENCE_ENABLED));
607:
608: public static final String STRUTS_PORTLET_REQUEST_PROCESSOR = PropsUtil
609: .get(PropsUtil.STRUTS_PORTLET_REQUEST_PROCESSOR);
610:
611: public static final String TAGS_ASSET_VALIDATOR = PropsUtil
612: .get(PropsUtil.TAGS_ASSET_VALIDATOR);
613:
614: public static final boolean TAGS_COMPILER_ENABLED = GetterUtil
615: .getBoolean(PropsUtil.get(PropsUtil.TAGS_COMPILER_ENABLED));
616:
617: public static final boolean TCK_URL = GetterUtil
618: .getBoolean(PropsUtil.get(PropsUtil.TCK_URL));
619:
620: public static final boolean TERMS_OF_USE_REQUIRED = GetterUtil
621: .getBoolean(PropsUtil.get(PropsUtil.TERMS_OF_USE_REQUIRED));
622:
623: public static final boolean THEME_CSS_FAST_LOAD = GetterUtil
624: .getBoolean(PropsUtil.get(PropsUtil.THEME_CSS_FAST_LOAD));
625:
626: public static final boolean THEME_LOADER_NEW_THEME_ID_ON_IMPORT = GetterUtil
627: .getBoolean(PropsUtil
628: .get(PropsUtil.THEME_LOADER_NEW_THEME_ID_ON_IMPORT));
629:
630: public static final String THEME_LOADER_STORAGE_PATH = PropsUtil
631: .get(PropsUtil.THEME_LOADER_STORAGE_PATH);
632:
633: public static final boolean THEME_SYNC_ON_GROUP = GetterUtil
634: .getBoolean(PropsUtil.get(PropsUtil.THEME_SYNC_ON_GROUP));
635:
636: public static final String THEME_VIRTUAL_PATH = PropsUtil
637: .get(PropsUtil.THEME_VIRTUAL_PATH);
638:
639: public static final boolean USERS_DELETE = GetterUtil
640: .getBoolean(PropsUtil.get(PropsUtil.USERS_DELETE));
641:
642: public static final boolean USERS_SCREEN_NAME_ALWAYS_AUTOGENERATE = GetterUtil
643: .getBoolean(PropsUtil
644: .get(PropsUtil.USERS_SCREEN_NAME_ALWAYS_AUTOGENERATE));
645:
646: public static final String USERS_SCREEN_NAME_GENERATOR = PropsUtil
647: .get(PropsUtil.USERS_SCREEN_NAME_GENERATOR);
648:
649: public static final String USERS_SCREEN_NAME_VALIDATOR = PropsUtil
650: .get(PropsUtil.USERS_SCREEN_NAME_VALIDATOR);
651:
652: public static final boolean WEB_SERVER_DISPLAY_NODE = GetterUtil
653: .getBoolean(PropsUtil
654: .get(PropsUtil.WEB_SERVER_DISPLAY_NODE));
655:
656: public static final String WEB_SERVER_HOST = PropsUtil
657: .get(PropsUtil.WEB_SERVER_HOST);
658:
659: public static final int WEB_SERVER_HTTP_PORT = GetterUtil
660: .getInteger(PropsUtil.get(PropsUtil.WEB_SERVER_HTTP_PORT),
661: -1);
662:
663: public static final int WEB_SERVER_HTTPS_PORT = GetterUtil
664: .getInteger(PropsUtil.get(PropsUtil.WEB_SERVER_HTTPS_PORT),
665: -1);
666:
667: public static final String WEB_SERVER_PROTOCOL = PropsUtil
668: .get(PropsUtil.WEB_SERVER_PROTOCOL);
669:
670: public static final boolean WEBDAV_LITMUS = GetterUtil
671: .getBoolean(PropsUtil.get(PropsUtil.WEBDAV_LITMUS));
672:
673: }
|