You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2023/10/19 08:57:55 UTC

[syncope] branch 3_0_X updated: Upgrading Spring Boot

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ò <il...@apache.org>
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<? extends AbstractAuthenticatedWebSession> getWebSessionClass() {
+        return SyncopeEnduserSession.class;
+    }
+
     @Override
     protected Class<? extends WebPage> 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.
     <bouncycastle.version>1.70</bouncycastle.version>
     <nimbus-jose-jwt.version>9.37</nimbus-jose-jwt.version>
 
-    <spring-boot.version>2.7.16</spring-boot.version>
+    <spring-boot.version>2.7.17</spring-boot.version>
     <spring-cloud-gateway.version>3.1.8</spring-cloud-gateway.version>
 
     <openjpa.version>3.2.2</openjpa.version>