1 9 package org.jboss.portal.core.portlet.user; 10 11 15 public class UserPortletConstants 16 { 17 18 public static final String SALT = "14m1r0nm4n"; 19 20 public static final String INFOMESSAGE = "infomessage"; 21 public static final String ERRORMESSAGE = "errormessage"; 22 23 public static String CK_USERNAME = "username"; 25 public static String CK_PASS = "password"; 26 27 public static int DEFAULT_USERSPERPAGE = 10; 29 30 public static final int LOGIN_STATUS_OK = 0; 32 public static final int LOGIN_STATUS_BAD_PASSWORD = 1; 33 public static final int LOGIN_STATUS_NO_SUCH_USER = 2; 34 public static final int LOGIN_STATUS_USER_DISABLED = 3; 35 public static final int LOGIN_STATUS_INVALID_NAME = 4; 36 public static final int LOGIN_STATUS_UNEXPECTED_ERROR = 5; 37 38 public static final int PERMANENT_USER_MAX_INACTIVE = 60 * 60 * 24 * 5 * 1000; public static final int TRANSIENT_USER_MAX_INACTIVE = 60 * 60; 41 public static final String HASH = "hash"; 42 public static final String USERID = "userid"; 43 44 46 public static final String EMAILFROM = "emailFrom"; 47 public static final String SUBSCRIPTIONMODE = "subscriptionMode"; 48 public static final String SUBSCRIPTIONMODE_AUTOMATIC = "automatic"; 49 public static final String SUBSCRIPTIONMODE_EMAILVERIFICATION = "emailVerification"; 50 public static final String DEFAULT_ROLE = "defaultRole"; 51 52 55 public static final String [] TIME_ZONE_OFFSETS = 56 { 57 "(GMT -12:00 hours) Eniwetok, Kwajalein", 58 null, 59 "(GMT -11:00 hours) Midway Island, Samoa", 60 null, 61 "(GMT -10:00 hours) Hawaii", 62 null, 63 "(GMT -9:00 hours) Alaska", 64 null, 65 "(GMT -8:00 hours) Pacific Time (US & Canada)", 66 null, 67 "(GMT -7:00 hours) Mountain Time (US & Canada)", 68 null, 69 "(GMT -6:00 hours) Central Time (US & Canada), Mexico City", 70 null, 71 "(GMT -5:00 hours) Eastern Time (US & Canada), Bogota, Lima, Quito", 72 null, 73 "(GMT -4:00 hours) Atlantic Time (Canada), Caracas, La Paz", 74 "(GMT -3:30 hours) Newfoundland", 75 "(GMT -3:00 hours) Brazil, Buenos Aires, Georgetown", 76 null, 77 "(GMT -2:00 hours) Mid-Atlantic", 78 null, 79 "(GMT -1:00 hours) Azores, Cape Verde Islands", 80 null, 81 "(GMT) Western Europe Time, London, Lisbon, Casablanca, Monrovia", 82 null, 83 "(GMT +1:00 hours) CET(Central Europe Time), Brussels, Copenhagen, Madrid, Paris", 84 null, 85 "(GMT +2:00 hours) EET(Eastern Europe Time), Kaliningrad, South Africa", 86 null, 87 "(GMT +3:00 hours) Baghdad, Kuwait, Riyadh, Moscow, St. Petersburg", 88 "(GMT +3:30 hours) Tehran", 89 "(GMT +4:00 hours) Abu Dhabi, Muscat, Baku, Tbilisi", 90 "(GMT +4:30 hours) Kabul", 91 "(GMT +5:00 hours) Ekaterinburg, Islamabad, Karachi, Tashkent", 92 "(GMT +5:30 hours) Bombay, Calcutta, Madras, New Delhi", 93 "(GMT +6:00 hours) Almaty, Dhaka, Colombo", 94 null, 95 "(GMT +7:00 hours) Bangkok, Hanoi, Jakarta", 96 null, 97 "(GMT +8:00 hours) Beijing, Perth, Singapore, Hong Kong, Chongqing, Urumqi, Taipei", 98 null, 99 "(GMT +9:00 hours) Tokyo, Seoul, Osaka, Sapporo, Yakutsk", 100 "(GMT +9:30 hours) Adelaide, Darwin", 101 "(GMT +10:00 hours) EAST(East Australian Standard)", 102 null, 103 "(GMT +11:00 hours) Magadan, Solomon Islands, New Caledonia", 104 null, 105 "(GMT +12:00 hours) Auckland, Wellington, Fiji, Kamchatka, Marshall Island", 106 null 107 }; 108 109 public static final String DEFAULT_IMAGES_PATH = "images/user"; 110 } 111 | Popular Tags |