可信证书描述信息增加特殊字符串转移
crl配置null处理
This commit is contained in:
@@ -3,6 +3,7 @@ package com.nis.domain.callback;
|
||||
import java.util.Date;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.nis.web.service.BaseService;
|
||||
public class ProxyObjTrustedCa {
|
||||
@Expose
|
||||
private Long id; //compileId
|
||||
@@ -64,6 +65,7 @@ public class ProxyObjTrustedCa {
|
||||
return certName;
|
||||
}
|
||||
public void setCertName(String certName) {
|
||||
certName=BaseService.keywordsEscape(certName);
|
||||
this.certName = certName;
|
||||
}
|
||||
public String getCertFile() {
|
||||
|
||||
@@ -777,9 +777,11 @@ public class PxyObjKeyringController extends BaseController {
|
||||
try {
|
||||
pxyObjKeyringService.trustedCertAudit(isAudit,isValid,functionId,id,auditTime);
|
||||
} catch (MaatConvertException e) {
|
||||
e.printStackTrace();
|
||||
logger.error(e);
|
||||
addMessage(redirectAttributes,"error", "request_service_failed");
|
||||
}catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
logger.error(e);
|
||||
addMessage(redirectAttributes,"error", "audit_failed");
|
||||
}
|
||||
|
||||
@@ -405,7 +405,7 @@ public class PxyObjKeyringService extends BaseService{
|
||||
crlCfg=pxyObjKeyringDao.getPxyObjTrustedCaCrl(crlCfg);
|
||||
|
||||
//失效配置,将子表的失效来函设置与主表相同
|
||||
if(cfg.getIsAudit()==3){
|
||||
if(cfg.getIsAudit()==3 && crlCfg != null){
|
||||
//设置配置取消的来函信息
|
||||
serviceDictInfoDao.auditCancleRequestInfo(cfg.getCancelRequestId(),
|
||||
"pxy_obj_trusted_ca_crl",
|
||||
|
||||
Reference in New Issue
Block a user