From dbe9bd74ae221094b1a79babe64a82d2ad43e497 Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:03:54 +0200 Subject: [PATCH 1/7] BEASW-15376: Updates lombok dependecy version. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 73efafc..a3bdaa5 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ UTF-8 UTF-8 6.17.0 - 1.18.12 + 1.18.30 5.1.0 1.8 3.8.1 From f40f194a7eaabea3250da8a2a448fb41afde025d Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:05:32 +0200 Subject: [PATCH 2/7] BEASW-15376: Updates POI dependecy version. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a3bdaa5..7a4ed5b 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ UTF-8 6.17.0 1.18.30 - 5.1.0 + 5.2.4 1.8 3.8.1 v.1.2.0 From 6a89b31cbb4ec936931af07e335d5ee4707eb046 Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:28:21 +0200 Subject: [PATCH 3/7] BEASW-15376: Updates jasperreports dependecy version and adds missing bouncycasttle dependecy since jasperreports no longer uses itext dependency. --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7a4ed5b..bf5cee9 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,8 @@ UTF-8 UTF-8 - 6.17.0 + 6.20.6 + 1.76 1.18.30 5.2.4 1.8 @@ -65,6 +66,11 @@ jasperreports-fonts ${jasperrport.version} + + org.bouncycastle + bcprov-jdk18on + ${bouncycastle.version} + org.apache.poi poi From 258208d948b9f1a5c3e3ec64e4768448354eba49 Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:30:16 +0200 Subject: [PATCH 4/7] BEASW-15376: Updates JUnit dependecy version. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bf5cee9..9dcd120 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,7 @@ 1.8 3.8.1 v.1.2.0 - 5.3.2 + 5.10.0 From a596495db8e30770e1a132b92fee3b16c7896cd2 Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:50:41 +0200 Subject: [PATCH 5/7] BEASW-15376: Updates java-report-generator library to new version. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 9dcd120..e8919f5 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.systelab java-report-generator - 1.9.0 + 1.9.1 jar java-report-generator https://github.com/systelab/java-report-generator @@ -51,7 +51,7 @@ 5.2.4 1.8 3.8.1 - v.1.2.0 + 1.3.0 5.10.0 From a8bef14be57daadc999e9d29f088cb71ef98525b Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 12:56:01 +0200 Subject: [PATCH 6/7] BEASW-15376: Adds Bouncy Castle attribution to the documentation. --- ATTRIBUTION.md | 1 + 1 file changed, 1 insertion(+) diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index c394163..27077a2 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -5,6 +5,7 @@ The Java-Report-Generator includes code from the following third parties: * [JitPack](https://jitpack.io) (MIT License) * [JasperReports](https://community.jaspersoft.com/project/jasperreports-library) (MIT License) +* [BouncyCastle](https://www.bouncycastle.org/) (MIT License) * [Lombok](https://projectlombok.org/) (MIT License) * [Apache POI](https://poi.apache.org/) (MIT License) * [JUnit 5](https://junit.org/junit5/) (MIT License) From 9636b60f54770a931dcdc48a13feefc4e1ed7267 Mon Sep 17 00:00:00 2001 From: "WERFEN\\gmartinez3" Date: Mon, 16 Oct 2023 17:41:19 +0200 Subject: [PATCH 7/7] BEASW-15376: Removes Bouncy Castle dependency and PDF encription. --- ATTRIBUTION.md | 1 - pom.xml | 6 ------ .../werfen/report/service/pdf/util/PdfExportService.java | 2 -- 3 files changed, 9 deletions(-) diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md index 27077a2..c394163 100644 --- a/ATTRIBUTION.md +++ b/ATTRIBUTION.md @@ -5,7 +5,6 @@ The Java-Report-Generator includes code from the following third parties: * [JitPack](https://jitpack.io) (MIT License) * [JasperReports](https://community.jaspersoft.com/project/jasperreports-library) (MIT License) -* [BouncyCastle](https://www.bouncycastle.org/) (MIT License) * [Lombok](https://projectlombok.org/) (MIT License) * [Apache POI](https://poi.apache.org/) (MIT License) * [JUnit 5](https://junit.org/junit5/) (MIT License) diff --git a/pom.xml b/pom.xml index e8919f5..d7cfe20 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,6 @@ UTF-8 UTF-8 6.20.6 - 1.76 1.18.30 5.2.4 1.8 @@ -66,11 +65,6 @@ jasperreports-fonts ${jasperrport.version} - - org.bouncycastle - bcprov-jdk18on - ${bouncycastle.version} - org.apache.poi poi diff --git a/src/main/java/com/werfen/report/service/pdf/util/PdfExportService.java b/src/main/java/com/werfen/report/service/pdf/util/PdfExportService.java index 9e946c0..5b73bd7 100644 --- a/src/main/java/com/werfen/report/service/pdf/util/PdfExportService.java +++ b/src/main/java/com/werfen/report/service/pdf/util/PdfExportService.java @@ -47,9 +47,7 @@ private SimplePdfReportConfiguration getPdfReportConfiguration() { private SimplePdfExporterConfiguration getPdfExporterConfiguration() { SimplePdfExporterConfiguration exportConfig = new SimplePdfExporterConfiguration(); - exportConfig.setEncrypted(true); exportConfig.setAllowedPermissionsHint("PRINTING"); return exportConfig; } - }