parent
0ed7e50f38
commit
790985e350
|
@ -48,12 +48,7 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
|
||||||
try {
|
try {
|
||||||
userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString());
|
userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString());
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
try {
|
logger.info("####公钥加密出现异常,请联系运维人员排查!");
|
||||||
logger.info("####公钥加密出现异常,请联系运维人员排查!\n加密数据:{}\n加密公钥:{}", query_one.getString("username"),
|
|
||||||
RSAUtil.getPublicKeyFromString());
|
|
||||||
} catch (Exception ex) {
|
|
||||||
logger.info("####RSAUtil.getPublicKeyFromString()错误,错误信息:{}", e);
|
|
||||||
}
|
|
||||||
ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!");
|
ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!");
|
||||||
throw new KDException(errorCode, e);
|
throw new KDException(errorCode, e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue