mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-06 18:30:57 +00:00
updating LICENSE-proprietary
This commit is contained in:
parent
149fe8755d
commit
275039015d
@ -14,11 +14,8 @@ covering the appropriate number of licensed users.
|
|||||||
|
|
||||||
Trial and Minimal Use
|
Trial and Minimal Use
|
||||||
|
|
||||||
You may use the Software without a paid subscription for the sole purposes of internal trial, evaluation, or minimal use,
|
You may use the Software without a paid subscription for the sole purposes of internal trial, evaluation, or minimal use, provided that:
|
||||||
provided that:
|
* Use is limited to the capabilities and restrictions defined by the Software itself;
|
||||||
|
|
||||||
* 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 do not copy, distribute, sublicense, reverse-engineer, or use the Software in client-facing or commercial contexts.
|
* 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.
|
Continued use beyond this scope requires a valid Stirling PDF User License.
|
||||||
|
@ -520,7 +520,7 @@ public class KeygenLicenseVerifier {
|
|||||||
|
|
||||||
HttpResponse<String> response =
|
HttpResponse<String> response =
|
||||||
httpClient.send(request, HttpResponse.BodyHandlers.ofString());
|
httpClient.send(request, HttpResponse.BodyHandlers.ofString());
|
||||||
log.info("ValidateLicenseResponse body: {}", response.body());
|
log.debug("ValidateLicenseResponse body: {}", response.body());
|
||||||
JsonNode jsonResponse = objectMapper.readTree(response.body());
|
JsonNode jsonResponse = objectMapper.readTree(response.body());
|
||||||
if (response.statusCode() == 200) {
|
if (response.statusCode() == 200) {
|
||||||
JsonNode metaNode = jsonResponse.path("meta");
|
JsonNode metaNode = jsonResponse.path("meta");
|
||||||
@ -529,9 +529,9 @@ public class KeygenLicenseVerifier {
|
|||||||
String detail = metaNode.path("detail").asText();
|
String detail = metaNode.path("detail").asText();
|
||||||
String code = metaNode.path("code").asText();
|
String code = metaNode.path("code").asText();
|
||||||
|
|
||||||
log.info("License validity: " + isValid);
|
log.info("License validity: {}", isValid);
|
||||||
log.info("Validation detail: " + detail);
|
log.info("Validation detail: {}", detail);
|
||||||
log.info("Validation code: " + code);
|
log.info("Validation code: {}", code);
|
||||||
|
|
||||||
// Check if the license itself has floating attribute
|
// Check if the license itself has floating attribute
|
||||||
JsonNode licenseAttrs = jsonResponse.path("data").path("attributes");
|
JsonNode licenseAttrs = jsonResponse.path("data").path("attributes");
|
||||||
@ -595,7 +595,7 @@ public class KeygenLicenseVerifier {
|
|||||||
.path("isEnterprise")
|
.path("isEnterprise")
|
||||||
.asBoolean(false);
|
.asBoolean(false);
|
||||||
|
|
||||||
log.info(applicationProperties.toString());
|
log.debug(applicationProperties.toString());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
log.error("Error validating license. Status code: {}", response.statusCode());
|
log.error("Error validating license. Status code: {}", response.statusCode());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user