ip_type all时,只有ip非空时,切换默认值
证书模块文件校验 ip掩码验证,非掩码范围增加掩码范围提示 国际化sourse和dest修改为client和server 国际化俄文提交
This commit is contained in:
@@ -514,6 +514,10 @@ public final class Constants {
|
||||
* 摘要文件URL关键字
|
||||
*/
|
||||
public static final String DIGEST_UPLOAD_URL_KEYWORD = Configurations.getStringProperty("digest_upload_url_keyword","fileTransfer");
|
||||
/**
|
||||
* 证书文件URL关键字
|
||||
*/
|
||||
public static final String CERT_UPLOAD_URL_KEYWORD = Configurations.getStringProperty("cert_upload_url_keyword","/intercept/strateagy");
|
||||
/**
|
||||
* 样例文件限制总文件大小
|
||||
*/
|
||||
@@ -578,6 +582,14 @@ public final class Constants {
|
||||
* 摘要文件支持文件类型
|
||||
*/
|
||||
public static final String DIGEST_FILE_TYPE = Configurations.getStringProperty("digest_file_type","");
|
||||
/**
|
||||
* 公钥文件支持文件类型
|
||||
*/
|
||||
public static final String PUBLIC_FILE_TYPE = Configurations.getStringProperty("public_file_type","");
|
||||
/**
|
||||
* 私钥文件支持文件类型
|
||||
*/
|
||||
public static final String PRIVATE_FILE_TYPE = Configurations.getStringProperty("private_file_type","");
|
||||
/**
|
||||
* 摘要文件限制单个文件大小
|
||||
*/
|
||||
@@ -586,7 +598,19 @@ public final class Constants {
|
||||
* 摘要文件限制总文件大小
|
||||
*/
|
||||
public static final long DIGEST_TOTAL_FILE_MAX_SIZE = Configurations.getLongProperty("digest_total_file_max_size",52428800l);//50M
|
||||
/**
|
||||
* 证书文件限制总文件大小
|
||||
*/
|
||||
public static final long CERT_TOTAL_FILE_MAX_SIZE = Configurations.getLongProperty("cert_total_file_max_size",52428800l);//50M
|
||||
|
||||
/**
|
||||
* 公钥文件限制单个文件大小
|
||||
*/
|
||||
public static final long PUBLIC_SINGLE_FILE_MAX_SIZE = Configurations.getLongProperty("public_single_file_max_size",10485760l);//10M
|
||||
/**
|
||||
* 私钥文件限制单个文件大小
|
||||
*/
|
||||
public static final long PRIVATE_SINGLE_FILE_MAX_SIZE = Configurations.getLongProperty("private_single_file_max_size",10485760l);//10M
|
||||
//YSP文件特征配置相关参数,用于调用外部程序生成特征文件时使用
|
||||
public static final String AV_FILE_PATH = Configurations.getStringProperty("av_file_path", "/home/ysp/");
|
||||
public static final String AV_SAMPLE_AUDIO_REGION = Configurations.getStringProperty("av_sample_audio_region", "av_sample_audio");
|
||||
|
||||
Reference in New Issue
Block a user