001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software GmbH, please see the 018 * company website: http://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: http://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.security; 029 030import org.opencms.i18n.A_CmsMessageBundle; 031import org.opencms.i18n.I_CmsMessageBundle; 032 033/** 034 * Convenience class to access the localized messages of this OpenCms package.<p> 035 * 036 * @since 6.0.0 037 */ 038public final class Messages extends A_CmsMessageBundle { 039 040 /** Message constant for key in the resource bundle. */ 041 public static final String ERR_ALREADY_LOGGED_IN_0 = "ERR_ALREADY_LOGGED_IN_0"; 042 043 /** Message constant for key in the resource bundle. */ 044 public static final String ERR_BAD_GROUPNAME_EMPTY_0 = "ERR_BAD_GROUPNAME_EMPTY_0"; 045 046 /** Message constant for key in the resource bundle. */ 047 public static final String ERR_BAD_USERNAME_4 = "ERR_BAD_USERNAME_4"; 048 049 /** Message constant for key in the resource bundle. */ 050 public static final String ERR_BAD_USERNAME_EMPTY_0 = "ERR_BAD_USERNAME_EMPTY_0"; 051 052 /** Message constant for key in the resource bundle. */ 053 public static final String ERR_CANT_DELETE_DEFAULT_USER_1 = "ERR_CANT_DELETE_DEFAULT_USER_1"; 054 055 /** Message constant for key in the resource bundle. */ 056 public static final String ERR_EMAIL_VALIDATION_1 = "ERR_EMAIL_VALIDATION_1"; 057 058 /** Message constant for key in the resource bundle. */ 059 public static final String ERR_FIRSTNAME_EMPTY_0 = "ERR_FIRSTNAME_EMPTY_0"; 060 061 /** Message constant for key in the resource bundle. */ 062 public static final String ERR_INVALID_NEWPWD_0 = "ERR_INVALID_NEWPWD_0"; 063 064 /** Message constant for key in the resource bundle. */ 065 public static final String ERR_INVALID_PRINCIPAL_1 = "ERR_INVALID_PRINCIPAL_1"; 066 067 /** Message constant for key in the resource bundle. */ 068 public static final String ERR_INVALID_PRINCIPAL_TYPE_2 = "ERR_INVALID_PRINCIPAL_TYPE_2"; 069 070 /** Message constant for key in the resource bundle. */ 071 public static final String ERR_INVALID_USER_CONTEXT_0 = "ERR_INVALID_USER_CONTEXT_0"; 072 073 /** Message constant for key in the resource bundle. */ 074 public static final String ERR_INVALID_USER_PWD_1 = "ERR_INVALID_USER_PWD_1"; 075 076 /** Message constant for key in the resource bundle. */ 077 public static final String ERR_LASTNAME_EMPTY_0 = "ERR_LASTNAME_EMPTY_0"; 078 079 /** Message constant for key in the resource bundle. */ 080 public static final String ERR_LOGIN_FAILED_2 = "ERR_LOGIN_FAILED_2"; 081 082 /** Message constant for key in the resource bundle. */ 083 public static final String ERR_LOGIN_FAILED_DISABLED_2 = "ERR_LOGIN_FAILED_DISABLED_2"; 084 085 /** Message constant for key in the resource bundle. */ 086 public static final String ERR_LOGIN_FAILED_NO_USER_2 = "ERR_LOGIN_FAILED_NO_USER_2"; 087 088 /** Message constant for key in the resource bundle. */ 089 public static final String ERR_LOGIN_FAILED_TEMP_DISABLED_4 = "ERR_LOGIN_FAILED_TEMP_DISABLED_4"; 090 091 /** Message constant for key in the resource bundle. */ 092 public static final String ERR_LOGIN_FAILED_WITH_MESSAGE_1 = "ERR_LOGIN_FAILED_WITH_MESSAGE_1"; 093 094 /** Message constant for key in the resource bundle. */ 095 public static final String ERR_NEWPWD_EMPTY_0 = "ERR_NEWPWD_EMPTY_0"; 096 097 /** Message constant for key in the resource bundle. */ 098 public static final String ERR_NEWPWD_MISMATCH_0 = "ERR_NEWPWD_MISMATCH_0"; 099 100 /** Message constant for key in the resource bundle. */ 101 public static final String ERR_NO_PERMISSION_RESOURCE_1 = "ERR_NO_PERMISSION_RESOURCE_1"; 102 103 /** Message constant for key in the resource bundle. */ 104 public static final String ERR_NOT_MANAGER_OF_PROJECT_2 = "ERR_NOT_MANAGER_OF_PROJECT_2"; 105 106 /** Message constant for key in the resource bundle. */ 107 public static final String ERR_ORGUNIT_ROOT_EDITION_0 = "ERR_ORGUNIT_ROOT_EDITION_0"; 108 109 /** Message constant for key in the resource bundle. */ 110 public static final String ERR_PASSWORD_TOO_SHORT_1 = "ERR_PASSWORD_TOO_SHORT_1"; 111 112 /** Message constant for key in the resource bundle. */ 113 public static final String ERR_RESOURCE_LOCKED_1 = "ERR_RESOURCE_LOCKED_1"; 114 115 /** Message constant for key in the resource bundle. */ 116 public static final String ERR_ROLE_VIOLATION_1 = "ERR_ROLE_VIOLATION_1"; 117 118 /** Message constant for key in the resource bundle. */ 119 public static final String ERR_STARTUP_FINISHED_0 = "ERR_STARTUP_FINISHED_0"; 120 121 /** Message constant for key in the resource bundle. */ 122 public static final String ERR_UNSUPPORTED_ALGORITHM_1 = "ERR_UNSUPPORTED_ALGORITHM_1"; 123 124 /** Message constant for key in the resource bundle. */ 125 public static final String ERR_UNSUPPORTED_AUTHENTICATION_MECHANISM_1 = "ERR_UNSUPPORTED_AUTHENTICATION_MECHANISM_1"; 126 127 /** Message constant for key in the resource bundle. */ 128 public static final String ERR_UNSUPPORTED_PASSWORD_ENCODING_1 = "ERR_UNSUPPORTED_PASSWORD_ENCODING_1"; 129 130 /** Message constant for key in the resource bundle. */ 131 public static final String ERR_USER_NOT_IN_ROLE_2 = "ERR_USER_NOT_IN_ROLE_2"; 132 133 /** Message constant for key in the resource bundle. */ 134 public static final String ERR_USER_NOT_IN_ROLE_FOR_ORGUNIT_3 = "ERR_USER_NOT_IN_ROLE_FOR_ORGUNIT_3"; 135 136 /** Message constant for key in the resource bundle. */ 137 public static final String ERR_USER_NOT_IN_ROLE_FOR_RESOURCE_3 = "ERR_USER_NOT_IN_ROLE_FOR_RESOURCE_3"; 138 139 /** Message constant for key in the resource bundle. */ 140 public static final String ERR_ZIPCODE_VALIDATION_1 = "ERR_ZIPCODE_VALIDATION_1"; 141 142 /** Message constant for key in the resource bundle. */ 143 public static final String GUI_ORGUNIT_DISPLAY_NAME_2 = "GUI_ORGUNIT_DISPLAY_NAME_2"; 144 145 /** Message constant for key in the resource bundle. */ 146 public static final String GUI_PRINCIPAL_DISPLAY_NAME_2 = "GUI_PRINCIPAL_DISPLAY_NAME_2"; 147 148 /** Message constant for key in the resource bundle. */ 149 public static final String GUI_ROLE_DESCRIPTION_ACCOUNT_MANAGER_0 = "GUI_ROLE_DESCRIPTION_ACCOUNT_MANAGER_0"; 150 151 /** Message constant for key in the resource bundle. */ 152 public static final String GUI_ROLE_DESCRIPTION_ADMINISTRATOR_0 = "GUI_ROLE_DESCRIPTION_ADMINISTRATOR_0"; 153 154 /** Message constant for key in the resource bundle. */ 155 public static final String GUI_ROLE_DESCRIPTION_CATEGORY_EDITOR_0 = "GUI_ROLE_DESCRIPTION_CATEGORY_EDITOR_0"; 156 157 /** Message constant for key in the resource bundle. */ 158 public static final String GUI_ROLE_DESCRIPTION_ELEMENT_AUTHOR_0 = "GUI_ROLE_DESCRIPTION_ELEMENT_AUTHOR_0"; 159 160 /** Message constant for key in the resource bundle. */ 161 public static final String GUI_ROLE_DESCRIPTION_DATABASE_MANAGER_0 = "GUI_ROLE_DESCRIPTION_DATABASE_MANAGER_0"; 162 163 /** Message constant for key in the resource bundle. */ 164 public static final String GUI_ROLE_DESCRIPTION_DEVELOPER_0 = "GUI_ROLE_DESCRIPTION_DEVELOPER_0"; 165 166 /** Message constant for key in the resource bundle. */ 167 public static final String GUI_ROLE_DESCRIPTION_GALLERY_EDITOR_0 = "GUI_ROLE_DESCRIPTION_GALLERY_EDITOR_0"; 168 169 /** Message constant for key in the resource bundle. */ 170 public static final String GUI_ROLE_DESCRIPTION_PROJECT_MANAGER_0 = "GUI_ROLE_DESCRIPTION_PROJECT_MANAGER_0"; 171 172 /** Message constant for key in the resource bundle. */ 173 public static final String GUI_ROLE_DESCRIPTION_ROOT_ADMIN_0 = "GUI_ROLE_DESCRIPTION_ROOT_ADMIN_0"; 174 175 /** Message constant for key in the resource bundle. */ 176 public static final String GUI_ROLE_DESCRIPTION_EDITOR_0 = "GUI_ROLE_DESCRIPTION_EDITOR_0"; 177 178 /** Message constant for key in the resource bundle. */ 179 public static final String GUI_ROLE_DESCRIPTION_VFS_MANAGER_0 = "GUI_ROLE_DESCRIPTION_VFS_MANAGER_0"; 180 181 /** Message constant for key in the resource bundle. */ 182 public static final String GUI_ROLE_DESCRIPTION_WORKPLACE_MANAGER_0 = "GUI_ROLE_DESCRIPTION_WORKPLACE_MANAGER_0"; 183 184 /** Message constant for key in the resource bundle. */ 185 public static final String GUI_ROLE_DESCRIPTION_WORKPLACE_USER_0 = "GUI_ROLE_DESCRIPTION_WORKPLACE_USER_0"; 186 187 /** Message constant for key in the resource bundle. */ 188 public static final String GUI_ROLENAME_ACCOUNT_MANAGER_0 = "GUI_ROLENAME_ACCOUNT_MANAGER_0"; 189 190 /** Message constant for key in the resource bundle. */ 191 public static final String GUI_ROLENAME_ADMINISTRATOR_0 = "GUI_ROLENAME_ADMINISTRATOR_0"; 192 193 /** Message constant for key in the resource bundle. */ 194 public static final String GUI_ROLENAME_CATEGORY_EDITOR_0 = "GUI_ROLENAME_CATEGORY_EDITOR_0"; 195 196 /** Message constant for key in the resource bundle. */ 197 public static final String GUI_ROLENAME_ELEMENT_AUTHOR_0 = "GUI_ROLENAME_ELEMENT_AUTHOR_0"; 198 199 /** Message constant for key in the resource bundle. */ 200 public static final String GUI_ROLENAME_DATABASE_MANAGER_0 = "GUI_ROLENAME_DATABASE_MANAGER_0"; 201 202 /** Message constant for key in the resource bundle. */ 203 public static final String GUI_ROLENAME_DEVELOPER_0 = "GUI_ROLENAME_DEVELOPER_0"; 204 205 /** Message constant for key in the resource bundle. */ 206 public static final String GUI_ROLENAME_GALLERY_EDITOR_0 = "GUI_ROLENAME_GALLERY_EDITOR_0"; 207 208 /** Message constant for key in the resource bundle. */ 209 public static final String GUI_ROLENAME_PROJECT_MANAGER_0 = "GUI_ROLENAME_PROJECT_MANAGER_0"; 210 211 /** Message constant for key in the resource bundle. */ 212 public static final String GUI_ROLENAME_ROOT_ADMIN_0 = "GUI_ROLENAME_ROOT_ADMIN_0"; 213 214 /** Message constant for key in the resource bundle. */ 215 public static final String GUI_ROLENAME_EDITOR_0 = "GUI_ROLENAME_EDITOR_0"; 216 217 /** Message constant for key in the resource bundle. */ 218 public static final String GUI_ROLENAME_VFS_MANAGER_0 = "GUI_ROLENAME_VFS_MANAGER_0"; 219 220 /** Message constant for key in the resource bundle. */ 221 public static final String GUI_ROLENAME_WORKPLACE_MANAGER_0 = "GUI_ROLENAME_WORKPLACE_MANAGER_0"; 222 223 /** Message constant for key in the resource bundle. */ 224 public static final String GUI_ROLENAME_WORKPLACE_USER_0 = "GUI_ROLENAME_WORKPLACE_USER_0"; 225 226 /** Message constant for key in the resource bundle. */ 227 public static final String LOG_AUTHENTICATE_PROPERTY_2 = "LOG_AUTHENTICATE_PROPERTY_2"; 228 229 /** Message constant for key in the resource bundle. */ 230 public static final String LOG_INIT_CONFIG_CALLED_1 = "LOG_INIT_CONFIG_CALLED_1"; 231 232 /** Message constant for key in the resource bundle. */ 233 public static final String LOG_NO_PERMISSION_RESOURCE_USER_4 = "LOG_NO_PERMISSION_RESOURCE_USER_4"; 234 235 /** Message constant for key in the resource bundle. */ 236 public static final String LOG_SCRYPT_PARAMETERS_1 = "LOG_SCRYPT_PARAMETERS_1"; 237 238 /** Name of the used resource bundle. */ 239 private static final String BUNDLE_NAME = "org.opencms.security.messages"; 240 241 /** Static instance member. */ 242 private static final I_CmsMessageBundle INSTANCE = new Messages(); 243 244 /** 245 * Hides the public constructor for this utility class.<p> 246 */ 247 private Messages() { 248 249 // hide the constructor 250 } 251 252 /** 253 * Returns an instance of this localized message accessor.<p> 254 * 255 * @return an instance of this localized message accessor 256 */ 257 public static I_CmsMessageBundle get() { 258 259 return INSTANCE; 260 } 261 262 /** 263 * Returns the bundle name for this OpenCms package.<p> 264 * 265 * @return the bundle name for this OpenCms package 266 */ 267 public String getBundleName() { 268 269 return BUNDLE_NAME; 270 } 271}