Browse Source

[LDRA] 113 S : 한글 문자 또는 아스키코드 사용하면 안된다. - log 영문으로 변경, 특수문자 변경

$ 표시는 사유서 작성(모아소프트)
feature/ldra
leehagjoon(이학준) 1 year ago
parent
commit
6553c706ea
  1. 18
      src/main/java/com/palnet/server/command/SocketCommand.java
  2. 10
      src/main/java/com/palnet/server/encrptn/kisa/KISA_SEED_CBC.java

18
src/main/java/com/palnet/server/command/SocketCommand.java

@ -137,7 +137,7 @@ public class SocketCommand {
ControlCacheUtils.setControl(model.getObjectId(),ccm);
} catch (IOException e) {
logger.error("요청한 URL 정보가 잘못되었습니다.", e.getMessage());
logger.error("Requested URL Information is Invalid.", e.getMessage());
} catch (Exception e) {
e.printStackTrace();
}
@ -162,8 +162,8 @@ public class SocketCommand {
messageProducer.sendControlMessage(model);
} else {
logger.error("좌표 정보가 존재하지 않습니다.");
throw new IllegalArgumentException("좌표 정보가 존재하지 않습니다.");
logger.error("Coordinate Information does not exist.");
throw new IllegalArgumentException("Coordinate Information does not exist.");
}
}
}
@ -253,7 +253,7 @@ public class SocketCommand {
ControlCacheUtils.setControl(model.getObjectId(),ccm);
} catch (IOException e) {
logger.error("요청한 URL 정보가 잘못되었습니다.", e.getMessage());
logger.error("Requested URL Information is Invalid.", e.getMessage());
} catch (Exception e) {
e.printStackTrace();
}
@ -276,8 +276,8 @@ public class SocketCommand {
messageProducer.sendControlMessage(model);
} else {
logger.error("좌표 정보가 존재하지 않습니다.");
throw new IllegalArgumentException("좌표 정보가 존재하지 않습니다.");
logger.error("Coordinate Information does not exist.");
throw new IllegalArgumentException("Coordinate Information does not exist.");
}
}
}
@ -367,7 +367,7 @@ public class SocketCommand {
ControlCacheUtils.setControl(model.getObjectId(),ccm);
} catch (IOException e) {
logger.error("요청한 URL 정보가 잘못되었습니다.", e.getMessage());
logger.error("Requested URL Information is Invalid.", e.getMessage());
} catch (Exception e) {
e.printStackTrace();
}
@ -390,8 +390,8 @@ public class SocketCommand {
messageProducer.sendControlMessage(model);
} else {
logger.error("좌표 정보가 존재하지 않습니다.");
throw new IllegalArgumentException("좌표 정보가 존재하지 않습니다.");
logger.error("Coordinate information does not exist.");
throw new IllegalArgumentException("Coordinate information does not exist.");
}
}
}

10
src/main/java/com/palnet/server/encrptn/kisa/KISA_SEED_CBC.java

@ -1028,10 +1028,10 @@ public class KISA_SEED_CBC {
System.out.print("\n");
System.out.print("[ Test SEED reference code CBC]"+"\n");
System.out.print("\n\n");
System.out.print("[ Test Encrypt mode : <EFBFBD><EFBFBD><EFBFBD> 1 ]"+"\n");
System.out.print("[ Test Encrypt mode : \uFFFD\uFFFD\uFFFD 1 ]" +"\n");
System.out.print("Key\t\t\t\t: ");
for (int i=0; i<16; i++) System.out.print(Integer.toHexString(0xff&pbUserKey[i])+" ");
System.out.print("\n");
@ -1149,7 +1149,7 @@ public class KISA_SEED_CBC {
PLAINTEXT_LENGTH = 14;
System.out.print("\n\n[ Test Encrypt mode : <EFBFBD><EFBFBD><EFBFBD> 2 ]"+"\n");
System.out.print("\n\n[ Test Encrypt mode : \uFFFD\uFFFD\uFFFD 2 ]" +"\n");
System.out.print("Key\t\t\t\t: ");
for (int i=0; i<16; i++) System.out.print(Integer.toHexString(0xff&pbUserKey[i])+", ");
System.out.print("\n");

Loading…
Cancel
Save