限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
CAPTCHA_MODULE_COMMENT
captcha config module comment
|
static java.lang.String |
CAPTCHA_MODULE_CONTRIBUTE
captcha config module contribute
|
static java.lang.String |
CAPTCHA_MODULE_LOGIN
captcha config module login
|
static java.lang.String |
CAPTCHA_MODULE_MANAGEMENT_SYSTEM
captcha config module management system
|
static java.lang.String |
CAPTCHA_MODULE_PLACE_CONTRIBUTE
captcha config module place contribute
|
static java.lang.String |
CAPTCHA_MODULE_REGISTER
captcha config module register
|
static java.lang.String |
CAPTCHA_MODULE_SURVEY
captcha config module survey
|
static java.lang.String |
CAPTCHA_MODULE_UPLOAD
captcha config module upload
|
static java.lang.String |
CONFIG_ALLOW_FILES
allow upload files
|
static java.lang.String |
CONFIG_CAPTCHA
captcha
|
static java.lang.String |
CONFIG_CODE
config code
|
static java.lang.String |
CONFIG_CODE_DESCRIPTION
config description code
|
static java.lang.String |
CONFIG_EXPIRY_MINUTES_MANAGER
manager login expiry time
|
static java.lang.String |
CONFIG_EXPIRY_MINUTES_SIGN
private file sign expiry time
|
static java.lang.String |
CONFIG_EXPIRY_MINUTES_WEB
web login expiry time
|
static java.lang.String |
CONFIG_PRIVATEFILE_KEY
private file key
|
static java.lang.String |
CONFIG_RETURN_URL
allow return urls
|
protected ConfigDataComponent |
configDataComponent |
static int |
DEFAULT_EXPIRY_MINUTES
default expiry minutes
|
static int |
DEFAULT_EXPIRY_MINUTES_SIGN
default expiry minutes
|
CONFIG_CODE_DESCRIPTION_SUFFIX, CONFIGPREFIX, INPUT_TYPE_EDITORS, INPUT_TYPE_FILES, INPUT_TYPE_PRIVATE_FILES, INPUTTYPE_BOOLEAN, INPUTTYPE_CAPTCHA, INPUTTYPE_CATEGORY, INPUTTYPE_CATEGORY_PATH, INPUTTYPE_CATEGORYTYPE, INPUTTYPE_COLOR, INPUTTYPE_CONTENT, INPUTTYPE_CONTENT_STATUS, INPUTTYPE_DATE, INPUTTYPE_DATETIME, INPUTTYPE_DEPT, INPUTTYPE_DICTIONARY, INPUTTYPE_EMAIL, INPUTTYPE_FILE, INPUTTYPE_IMAGE, INPUTTYPE_KEYVALUE, INPUTTYPE_KEYWORDS, INPUTTYPE_LANG, INPUTTYPE_MODULE, INPUTTYPE_NUMBER, INPUTTYPE_PASSWORD, INPUTTYPE_PRIVATEFILE, INPUTTYPE_PRIVATEIMAGE, INPUTTYPE_PRIVATEVIDEO, INPUTTYPE_SURVEY, INPUTTYPE_TAG, INPUTTYPE_TAGTYPE, INPUTTYPE_TEMPLATE, INPUTTYPE_TEXT, INPUTTYPE_TEXTAREA, INPUTTYPE_TIME, INPUTTYPE_USER, INPUTTYPE_VIDEO, INPUTTYPE_VOTE
构造器和说明 |
---|
SafeConfigComponent() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
enableCaptcha(short siteId,
java.lang.String module) |
boolean |
exportable() |
java.lang.String |
getCode(short siteId,
boolean showAll) |
java.lang.String |
getCodeDescription(java.util.Locale locale) |
java.util.List<SysExtendField> |
getExtendFieldList(SysSite site,
java.util.Locale locale) |
java.lang.String[] |
getSafeSuffix(SysSite site) |
java.lang.String |
getSafeUrl(java.lang.String returnUrl,
SysSite site,
java.lang.String contextPath) |
java.lang.String |
getSignKey(short siteId) |
static boolean |
isUnSafeUrl(java.lang.String url,
SysSite site,
java.lang.String safeReturnUrl,
java.lang.String contextPath) |
private static boolean |
unSafe(java.lang.String url,
SysSite site,
java.lang.String contextPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCode, getMessage
public static final java.lang.String CONFIG_CODE
public static final java.lang.String CONFIG_CODE_DESCRIPTION
public static final java.lang.String CONFIG_EXPIRY_MINUTES_WEB
public static final java.lang.String CONFIG_EXPIRY_MINUTES_MANAGER
public static final java.lang.String CONFIG_CAPTCHA
public static final java.lang.String CONFIG_ALLOW_FILES
public static final java.lang.String CONFIG_RETURN_URL
public static final int DEFAULT_EXPIRY_MINUTES
public static final int DEFAULT_EXPIRY_MINUTES_SIGN
public static final java.lang.String CONFIG_PRIVATEFILE_KEY
public static final java.lang.String CONFIG_EXPIRY_MINUTES_SIGN
public static final java.lang.String CAPTCHA_MODULE_LOGIN
public static final java.lang.String CAPTCHA_MODULE_REGISTER
public static final java.lang.String CAPTCHA_MODULE_MANAGEMENT_SYSTEM
public static final java.lang.String CAPTCHA_MODULE_COMMENT
public static final java.lang.String CAPTCHA_MODULE_CONTRIBUTE
public static final java.lang.String CAPTCHA_MODULE_PLACE_CONTRIBUTE
public static final java.lang.String CAPTCHA_MODULE_UPLOAD
public static final java.lang.String CAPTCHA_MODULE_SURVEY
protected ConfigDataComponent configDataComponent
public java.lang.String getCode(short siteId, boolean showAll)
public java.lang.String getCodeDescription(java.util.Locale locale)
getCodeDescription
在接口中 Config
locale
- public boolean enableCaptcha(short siteId, java.lang.String module)
public java.lang.String getSignKey(short siteId)
public java.lang.String getSafeUrl(java.lang.String returnUrl, SysSite site, java.lang.String contextPath)
public static boolean isUnSafeUrl(java.lang.String url, SysSite site, java.lang.String safeReturnUrl, java.lang.String contextPath)
public java.lang.String[] getSafeSuffix(SysSite site)
private static boolean unSafe(java.lang.String url, SysSite site, java.lang.String contextPath)
public java.util.List<SysExtendField> getExtendFieldList(SysSite site, java.util.Locale locale)
getExtendFieldList
在接口中 Config
public boolean exportable()
exportable
在接口中 Config