Async input 에 대한 ack msg암호화적용
This commit is contained in:
@@ -147,8 +147,13 @@ public class ApiAdapterController implements HttpAdapterServiceKey {
|
||||
// 업체별 aync response message 가 다르다.
|
||||
String asyncMsgStyle = httpProp.getProperty("ASYNC_RTNMSG_TYPE", "");
|
||||
String responseBody ="";
|
||||
boolean encryptAsyncAckApply = StringUtils.equalsIgnoreCase(httpProp.getProperty("ASYNC_ENCRYPT_ACK", "N"), "Y");
|
||||
|
||||
if (asyncMsgStyle == null || asyncMsgStyle.trim().isEmpty()) {
|
||||
responseBody = makeResponseBodyMsg();
|
||||
responseBody = makeResponseBodyMsg();
|
||||
if ( encryptAsyncAckApply) {
|
||||
responseBody = service.doPostEncryption(responseBody, transactionProp, servletRequest);
|
||||
}
|
||||
} else {
|
||||
responseBody = asyncMsgStyle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user