This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/syncope.git
commit c2d5a1584b2f1faddd495c4fc14bb3c1befc19f4 Author: Francesco Chicchiriccò <[email protected]> AuthorDate: Thu May 21 09:08:26 2026 +0200 Upgrading CXF and cas-client --- .../java/org/apache/syncope/client/console/SyncopeConsoleSession.java | 2 +- .../java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java | 2 +- pom.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleSession.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleSession.java index a1bbf8b826..c9de08f95a 100644 --- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleSession.java +++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleSession.java @@ -446,7 +446,7 @@ public class SyncopeConsoleSession extends AuthenticatedWebSession implements Ba @Override public SyncopeAnonymousClient getAnonymousClient() { - if (anonymousClient == null) { + if (anonymousClient == null || !getDomain().equals(anonymousClient.getDomain())) { anonymousClient = SyncopeWebApplication.get().newAnonymousClient(getDomain()); } return anonymousClient; diff --git a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java index ea070ac0cb..de39e07d89 100644 --- a/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java +++ b/client/idrepo/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserSession.java @@ -328,7 +328,7 @@ public class SyncopeEnduserSession extends AuthenticatedWebSession implements Ba @Override public SyncopeAnonymousClient getAnonymousClient() { - if (anonymousClient == null) { + if (anonymousClient == null || !getDomain().equals(anonymousClient.getDomain())) { anonymousClient = SyncopeWebApplication.get().newAnonymousClient(getDomain()); } return anonymousClient; diff --git a/pom.xml b/pom.xml index ad7e9a553c..a757604fde 100644 --- a/pom.xml +++ b/pom.xml @@ -431,7 +431,7 @@ under the License. <connid.kafka.version>1.0.0</connid.kafka.version> <connid.ldup.version>0.1.0</connid.ldup.version> - <cxf.version>4.2.0</cxf.version> + <cxf.version>4.2.1</cxf.version> <bouncycastle.version>1.84</bouncycastle.version> <nimbus-jose-jwt.version>10.9</nimbus-jose-jwt.version> @@ -467,7 +467,7 @@ under the License. <pac4j.version>6.4.3</pac4j.version> <cas.version>8.0.0-RC4</cas.version> - <cas-client.version>4.1.0</cas-client.version> + <cas-client.version>4.1.1</cas-client.version> <swagger-core.version>2.2.50</swagger-core.version> <swagger-ui.version>5.32.5</swagger-ui.version>
