(syncope) branch 3_0_X updated: Upgrading Spring Boot

2023-11-23 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new 5e77f14782 Upgrading Spring Boot
5e77f14782 is described below

commit 5e77f147829b39d43a7b0f9a070f0fe388143604
Author: Francesco Chicchiriccò 
AuthorDate: Thu Nov 23 09:25:55 2023 +0100

Upgrading Spring Boot
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3e05c9d0e9..c0ec55dc69 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
 1.70
 9.37.1
 
-2.7.17
+2.7.18
 3.1.9
 
 3.2.2



[syncope] branch 3_0_X updated: Upgrading Spring Boot

2023-10-19 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new b0bef4f676 Upgrading Spring Boot
b0bef4f676 is described below

commit b0bef4f67691f8554d46ac0bc53d91e91ead1d00
Author: Francesco Chicchiriccò 
AuthorDate: Thu Oct 19 10:57:46 2023 +0200

Upgrading Spring Boot
---
 .../org/apache/syncope/client/enduser/SyncopeWebApplication.java| 6 ++
 pom.xml | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeWebApplication.java
 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeWebApplication.java
index 63d3c0272c..4846ee5721 100644
--- 
a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeWebApplication.java
+++ 
b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeWebApplication.java
@@ -48,6 +48,7 @@ import org.apache.wicket.Session;
 import org.apache.wicket.WicketRuntimeException;
 import org.apache.wicket.authorization.IAuthorizationStrategy;
 import 
org.apache.wicket.authorization.IAuthorizationStrategy.AllowAllAuthorizationStrategy;
+import 
org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession;
 import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.protocol.http.ResourceIsolationRequestCycleListener;
 import org.apache.wicket.protocol.http.WebApplication;
@@ -279,6 +280,11 @@ public class SyncopeWebApplication extends 
WicketBootSecuredWebApplication {
 return props.getPage().getOrDefault(name, defaultValue);
 }
 
+@Override
+protected Class 
getWebSessionClass() {
+return SyncopeEnduserSession.class;
+}
+
 @Override
 protected Class getSignInPageClass() {
 return Login.class;
diff --git a/pom.xml b/pom.xml
index dd7f035b78..3defa9c0f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
 1.70
 9.37
 
-2.7.16
+2.7.17
 3.1.8
 
 3.2.2



[syncope] branch 3_0_X updated: Upgrading Spring Boot and Elasticseach

2023-09-21 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new 5b05b1e943 Upgrading Spring Boot and Elasticseach
5b05b1e943 is described below

commit 5b05b1e943f1bbc7adbb2cbafd19f6d78d73fe1a
Author: Francesco Chicchiriccò 
AuthorDate: Thu Sep 21 13:41:12 2023 +0200

Upgrading Spring Boot and Elasticseach
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index c2a6016c0d..e0ab5717a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
 1.70
 9.35
 
-2.7.15
+2.7.16
 3.1.8
 
 3.2.2
@@ -428,7 +428,7 @@ under the License.
 
 1.7.36
 
-8.10.1
+8.10.2
 
 2.20.0
 3.4.4



[syncope] branch 3_0_X updated: Upgrading Spring Boot

2023-08-24 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new f1495d9bee Upgrading Spring Boot
f1495d9bee is described below

commit f1495d9beeaadec652f6335481cd7355a346dcc1
Author: Francesco Chicchiriccò 
AuthorDate: Thu Aug 24 10:24:19 2023 +0200

Upgrading Spring Boot
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 5fd381cca6..3422758eb9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
 1.70
 9.31
 
-2.7.14
+2.7.15
 3.1.8
 
 3.2.2



[syncope] branch 3_0_X updated: Upgrading Spring Boot, Swagger UI, MySQL JDBC driver and PDFBox

2023-07-20 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new 0b8a7074cc Upgrading Spring Boot, Swagger UI, MySQL JDBC driver and 
PDFBox
0b8a7074cc is described below

commit 0b8a7074cc2f80fb4220c14d03cbaf7eb2ce6d39
Author: Francesco Chicchiriccò 
AuthorDate: Thu Jul 20 12:32:13 2023 +0200

Upgrading Spring Boot, Swagger UI, MySQL JDBC driver and PDFBox
---
 .../html/form/preview/BinaryPDFPreviewer.java   | 21 -
 pom.xml |  8 
 2 files changed, 12 insertions(+), 17 deletions(-)

diff --git 
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/preview/BinaryPDFPreviewer.java
 
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/preview/BinaryPDFPreviewer.java
index b701a03664..1dc1b599d8 100644
--- 
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/preview/BinaryPDFPreviewer.java
+++ 
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/markup/html/form/preview/BinaryPDFPreviewer.java
@@ -21,14 +21,11 @@ package 
org.apache.syncope.client.ui.commons.markup.html.form.preview;
 import java.awt.Graphics2D;
 import java.awt.RenderingHints;
 import java.awt.image.BufferedImage;
-import java.io.ByteArrayInputStream;
 import java.io.IOException;
-import java.io.InputStream;
 import java.io.Serializable;
 import java.time.Instant;
 import org.apache.pdfbox.Loader;
 import org.apache.pdfbox.cos.COSObject;
-import org.apache.pdfbox.io.MemoryUsageSetting;
 import org.apache.pdfbox.pdmodel.DefaultResourceCache;
 import org.apache.pdfbox.pdmodel.PDDocument;
 import org.apache.pdfbox.pdmodel.graphics.PDXObject;
@@ -63,15 +60,13 @@ public class BinaryPDFPreviewer extends BinaryPreviewer {
 public Component preview(final byte[] uploadedBytes) {
 firstPage = null;
 
-try (InputStream bais = new ByteArrayInputStream(uploadedBytes);
- PDDocument document = Loader.loadPDF(bais, 
MemoryUsageSetting.setupTempFileOnly())) {
-
+try (PDDocument document = Loader.loadPDF(uploadedBytes)) {
 document.setResourceCache(new DefaultResourceCache() {
 
 @Override
-public void put(final COSObject indirect, final PDXObject 
xobject) throws IOException {
+public void put(final COSObject indirect, final PDXObject 
xobject) {
+// no cache
 }
-
 });
 if (document.isEncrypted()) {
 LOG.info("Document is encrypted, no preview is possible");
@@ -96,15 +91,15 @@ public class BinaryPDFPreviewer extends BinaryPreviewer {
 return this.addOrReplace(previewContainer);
 }
 
-private static class ThumbnailImageResource extends DynamicImageResource 
implements Serializable {
+protected static class ThumbnailImageResource extends DynamicImageResource 
implements Serializable {
 
 private static final long serialVersionUID = 923201517955737928L;
 
-private final transient BufferedImage image;
+protected final transient BufferedImage image;
 
-private transient byte[] thumbnail;
+protected transient byte[] thumbnail;
 
-ThumbnailImageResource(final BufferedImage image) {
+protected ThumbnailImageResource(final BufferedImage image) {
 this.image = image;
 }
 
@@ -117,7 +112,7 @@ public class BinaryPDFPreviewer extends BinaryPreviewer {
 return thumbnail;
 }
 
-private BufferedImage getScaledImageInstance() {
+protected BufferedImage getScaledImageInstance() {
 int originalWidth = image.getWidth();
 int originalHeight = image.getHeight();
 
diff --git a/pom.xml b/pom.xml
index cabdb1ff2c..681a8949af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,7 +413,7 @@ under the License.
 1.70
 9.31
 
-2.7.13
+2.7.14
 3.1.8
 
 3.2.2
@@ -445,7 +445,7 @@ under the License.
 2.2.220
 
 2.2.15
-5.1.0
+5.1.3
 
 1.3.8
 1.4.1-1
@@ -503,7 +503,7 @@ under the License.
 11
 
 42.6.0
-8.0.33
+8.1.0
 3.1.4
 12.2.0.jre
 23.2.0.0
@@ -1228,7 +1228,7 @@ under the License.
   
 org.apache.pdfbox
 pdfbox
-3.0.0-alpha3
+3.0.0-beta1
   
 
   



[syncope] branch 3_0_X updated: Upgrading Spring Boot

2023-05-18 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new c768c73cea Upgrading Spring Boot
c768c73cea is described below

commit c768c73cea1d2f80d4f99a890a7dc83692d096b9
Author: Francesco Chicchiriccò 
AuthorDate: Thu May 18 12:31:34 2023 +0200

Upgrading Spring Boot
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 06a4dc1c45..8345a98658 100644
--- a/pom.xml
+++ b/pom.xml
@@ -415,7 +415,7 @@ under the License.
 1.70
 9.31
 
-2.7.11
+2.7.12
 3.1.6
 
 3.2.2



[syncope] branch 3_0_X updated: Upgrading Spring Boot

2023-04-20 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new c1cf55cb1f Upgrading Spring Boot
c1cf55cb1f is described below

commit c1cf55cb1fd36b27b68a74646f0cdadb93e9dc78
Author: Francesco Chicchiriccò 
AuthorDate: Thu Apr 20 16:39:24 2023 +0200

Upgrading Spring Boot
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 47c389e85f..f536247130 100644
--- a/pom.xml
+++ b/pom.xml
@@ -415,7 +415,7 @@ under the License.
 1.70
 9.31
 
-2.7.10
+2.7.11
 3.1.6
 
 3.2.2
@@ -505,7 +505,7 @@ under the License.
 10
 
 42.6.0
-8.0.32
+8.0.33
 3.1.3
 12.2.0.jre
 21.9.0.0
@@ -2037,7 +2037,7 @@ under the License.
   
 org.apache.maven.plugins
 maven-project-info-reports-plugin
-3.4.2
+3.4.3
 
   false
   false



[syncope] branch 3_0_X updated: Upgrading Spring Boot

2023-03-23 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new af514f250c Upgrading Spring Boot
af514f250c is described below

commit af514f250c0bab90a8fc1809b55a6103c8962b34
Author: Francesco Chicchiriccò 
AuthorDate: Thu Mar 23 11:07:06 2023 +0100

Upgrading Spring Boot
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8a79d79de8..b1dba6ece4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -415,7 +415,7 @@ under the License.
 1.70
 9.31
 
-2.7.9
+2.7.10
 3.1.6
 
 3.2.2



[syncope] branch 3_0_X updated: Upgrading Spring Boot, Spring Cloud Gateway and cargo-maven3-plugin

2023-02-23 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new a0b02ae675 Upgrading Spring Boot, Spring Cloud Gateway and 
cargo-maven3-plugin
a0b02ae675 is described below

commit a0b02ae6754d38a47ae7b3cc3cf5e7bb52c742eb
Author: Francesco Chicchiriccò 
AuthorDate: Thu Feb 23 12:55:34 2023 +0100

Upgrading Spring Boot, Spring Cloud Gateway and cargo-maven3-plugin
---
 pom.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index f8f7000262..c2e151e46b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -415,8 +415,8 @@ under the License.
 1.70
 9.30.1
 
-2.7.8
-3.1.4
+2.7.9
+3.1.5
 
 3.2.2
 5.0.1
@@ -1693,7 +1693,7 @@ under the License.
 
   org.codehaus.cargo
   cargo-maven3-plugin
-  1.10.4
+  1.10.5
   
 
   ${project.build.directory}/log/cargo.log



[syncope] branch 3_0_X updated: Upgrading Spring Boot and Nimbus JOSE JWT

2023-01-19 Thread ilgrosso
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/3_0_X by this push:
 new 4e05292b1a Upgrading Spring Boot and Nimbus JOSE JWT
4e05292b1a is described below

commit 4e05292b1a65cc516d2f3cf2297f4df43f8b8c8e
Author: Francesco Chicchiriccò 
AuthorDate: Fri Jan 20 08:10:01 2023 +0100

Upgrading Spring Boot and Nimbus JOSE JWT
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index b52563175f..29016f699c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -413,9 +413,9 @@ under the License.
 
 3.5.5
 1.70
-9.26
+9.28
 
-2.7.7
+2.7.8
 3.1.4
 
 3.2.2