Merge remote-tracking branch 'origin/jenkins_with_weblogic' of C:/KJB_DEV/git-bundles/bundles/251222/elink-online-common_incremental_2025-12-01.bundle into jenkins_with_weblogic

This commit is contained in:
unknown
2025-12-22 13:17:42 +09:00
2 changed files with 7 additions and 4 deletions
@@ -327,6 +327,7 @@ public class HttpClient5AdapterServiceRest extends HttpClient5AdapterServiceSupp
auth = niceToken + ":" + currentTime + ":" + clientId ;
logger.debug("HttpClientAdapterServiceRest] NiceOn auth = [" + auth + "]");
auth = Base64.getEncoder().encodeToString(auth.getBytes("UTF-8"));
logger.debug("HttpClientAdapterServiceRest] NiceOn Base64 encoded auth = [" + auth + "]");
setNiceOnAuthHeaders(method, auth);
} else {
@@ -1072,7 +1073,9 @@ public class HttpClient5AdapterServiceRest extends HttpClient5AdapterServiceSupp
case "AES256-NICEON":
try {
String key = clientSecretKey.substring(10,42);
logger.debug("HttpClientAdapterServiceRest] NICE ON AES256 Encryption key is :+="+key);
encryptedMessage = AES256Cipher.encrypt(eaiBody.toString(), key);
//encryptedMessage = ExchangeCrypto.encodedData(eaiStringBody, clientSecretKey);
} catch (Exception e) {
e.printStackTrace();
logger.error("HttpClientAdapterServiceRest] AES256 Encryption error=" + e.getMessage());