From 275039015df18092378d2fd35d5ea114ed1a990f Mon Sep 17 00:00:00 2001 From: Dario Ghunney Ware Date: Fri, 30 May 2025 18:09:02 +0100 Subject: [PATCH] updating LICENSE-proprietary --- proprietary/LICENSE-proprietary | 7 ++----- .../software/SPDF/EE/KeygenLicenseVerifier.java | 10 +++++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/proprietary/LICENSE-proprietary b/proprietary/LICENSE-proprietary index df9b7b974..d26855680 100644 --- a/proprietary/LICENSE-proprietary +++ b/proprietary/LICENSE-proprietary @@ -14,11 +14,8 @@ covering the appropriate number of licensed users. Trial and Minimal Use -You may use the Software without a paid subscription for the sole purposes of internal trial, evaluation, or minimal use, -provided that: - -* Use is limited to no more than five (5) named users or sessions; -* Use is strictly non-production, for internal testing or evaluation only; +You may use the Software without a paid subscription for the sole purposes of internal trial, evaluation, or minimal use, provided that: +* Use is limited to the capabilities and restrictions defined by the Software itself; * You do not copy, distribute, sublicense, reverse-engineer, or use the Software in client-facing or commercial contexts. Continued use beyond this scope requires a valid Stirling PDF User License. diff --git a/src/main/java/stirling/software/SPDF/EE/KeygenLicenseVerifier.java b/src/main/java/stirling/software/SPDF/EE/KeygenLicenseVerifier.java index c760a83c9..e92e048e9 100644 --- a/src/main/java/stirling/software/SPDF/EE/KeygenLicenseVerifier.java +++ b/src/main/java/stirling/software/SPDF/EE/KeygenLicenseVerifier.java @@ -520,7 +520,7 @@ public class KeygenLicenseVerifier { HttpResponse response = httpClient.send(request, HttpResponse.BodyHandlers.ofString()); - log.info("ValidateLicenseResponse body: {}", response.body()); + log.debug("ValidateLicenseResponse body: {}", response.body()); JsonNode jsonResponse = objectMapper.readTree(response.body()); if (response.statusCode() == 200) { JsonNode metaNode = jsonResponse.path("meta"); @@ -529,9 +529,9 @@ public class KeygenLicenseVerifier { String detail = metaNode.path("detail").asText(); String code = metaNode.path("code").asText(); - log.info("License validity: " + isValid); - log.info("Validation detail: " + detail); - log.info("Validation code: " + code); + log.info("License validity: {}", isValid); + log.info("Validation detail: {}", detail); + log.info("Validation code: {}", code); // Check if the license itself has floating attribute JsonNode licenseAttrs = jsonResponse.path("data").path("attributes"); @@ -595,7 +595,7 @@ public class KeygenLicenseVerifier { .path("isEnterprise") .asBoolean(false); - log.info(applicationProperties.toString()); + log.debug(applicationProperties.toString()); } else { log.error("Error validating license. Status code: {}", response.statusCode());