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
The following commit(s) were added to refs/heads/master by this push:
new f00d53ad07 WA: following CAS 7.3 deprecations
f00d53ad07 is described below
commit f00d53ad075176264fadc2a2109544980399cb01
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Mon Feb 9 08:47:12 2026 +0100
WA: following CAS 7.3 deprecations
---
pom.xml | 2 +-
.../mapping/AuthModulePropertySourceMapper.java | 2 +
wa/starter/pom.xml | 100 ++++-----------------
wa/starter/src/main/resources/wa.properties | 10 +--
4 files changed, 22 insertions(+), 92 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1f0aff7a8d..cbd89e04b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1853,7 +1853,7 @@ under the License.
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.48.0</version>
+ <version>0.48.1</version>
</plugin>
<plugin>
diff --git
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
index 3387fbb822..8c58632ebe 100644
---
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
+++
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java
@@ -51,6 +51,7 @@ import org.apache.syncope.common.lib.to.Item;
import org.apache.syncope.common.lib.types.AuthModuleState;
import org.apache.syncope.wa.bootstrap.WARestClient;
import
org.apereo.cas.configuration.model.core.authentication.AuthenticationHandlerStates;
+import org.apereo.cas.configuration.model.core.web.session.SessionStorageTypes;
import
org.apereo.cas.configuration.model.support.azuread.AzureActiveDirectoryAuthenticationProperties;
import
org.apereo.cas.configuration.model.support.generic.AcceptAuthenticationProperties;
import
org.apereo.cas.configuration.model.support.jaas.JaasAuthenticationProperties;
@@ -467,6 +468,7 @@ public class AuthModulePropertySourceMapper extends
PropertySourceMapper impleme
props.setDuoApiHost(conf.getApiHost());
props.setDuoIntegrationKey(conf.getIntegrationKey());
props.setDuoSecretKey(conf.getSecretKey());
+ props.setSessionStorageType(SessionStorageTypes.HTTP);
return prefix("cas.authn.mfa.duo.", WAConfUtils.asMap(props));
}
diff --git a/wa/starter/pom.xml b/wa/starter/pom.xml
index 6c6bac3ece..e1e4aebd4b 100644
--- a/wa/starter/pom.xml
+++ b/wa/starter/pom.xml
@@ -67,6 +67,10 @@ under the License.
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-audit</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apereo.cas</groupId>
+ <artifactId>cas-server-core-audit-api</artifactId>
+ </dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-scripting</artifactId>
@@ -115,6 +119,10 @@ under the License.
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-tickets</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apereo.cas</groupId>
+ <artifactId>cas-server-support-session-ticket-registry</artifactId>
+ </dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-core-util</artifactId>
@@ -172,12 +180,6 @@ under the License.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-syncope-authentication</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.github.mmoayyed.cxf</groupId>
- <artifactId>cxf-rt-rs-extension-search</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -190,16 +192,6 @@ under the License.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-saml</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -213,19 +205,9 @@ under the License.
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-themes-bootstrap</artifactId>
</dependency>
- <dependency>
- <groupId>org.apereo.cas</groupId>
- <artifactId>cas-server-core-audit-api</artifactId>
- </dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-saml-idp</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>findbugs-annotations</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -234,20 +216,6 @@ under the License.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-oidc</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcpkix-jdk15on</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15on</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>findbugs-annotations</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -255,15 +223,15 @@ under the License.
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
- <artifactId>cas-server-support-oauth-services</artifactId>
+ <artifactId>cas-server-support-oidc-services</artifactId>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
- <artifactId>cas-server-support-validation</artifactId>
+ <artifactId>cas-server-support-oauth-services</artifactId>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
- <artifactId>cas-server-support-pm-webflow</artifactId>
+ <artifactId>cas-server-support-validation</artifactId>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -284,42 +252,10 @@ under the License.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-webauthn</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.ws.rs</groupId>
- <artifactId>javax.ws.rs-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet-core</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-webauthn-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.ws.rs</groupId>
- <artifactId>javax.ws.rs-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
@@ -361,10 +297,6 @@ under the License.
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-trusted-mfa-core</artifactId>
</dependency>
- <dependency>
- <groupId>org.apereo.cas</groupId>
- <artifactId>cas-server-support-oidc-services</artifactId>
- </dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-swagger</artifactId>
@@ -402,12 +334,6 @@ under the License.
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-pac4j-oidc</artifactId>
- <exclusions>
- <exclusion>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>findbugs-annotations</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.pac4j</groupId>
@@ -418,6 +344,10 @@ under the License.
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-pm-core</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apereo.cas</groupId>
+ <artifactId>cas-server-support-pm-webflow</artifactId>
+ </dependency>
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-pm-ldap</artifactId>
diff --git a/wa/starter/src/main/resources/wa.properties
b/wa/starter/src/main/resources/wa.properties
index 7a60f6a6e8..969d34e161 100644
--- a/wa/starter/src/main/resources/wa.properties
+++ b/wa/starter/src/main/resources/wa.properties
@@ -77,6 +77,8 @@ cas.server.scope=syncope.apache.org
cas.logout.follow-service-redirects=true
cas.authn.saml-idp.core.entity-id=${cas.server.prefix}/saml
+cas.authn.saml-idp.core.session-replication.replicate-sessions=false
+cas.authn.saml-idp.core.session-storage-type=HTTP
cas.authn.saml-idp.metadata.http.metadata-backup-location=file:${syncope.conf.dir}/saml
cas.authn.oidc.core.issuer=${cas.server.prefix}/oidc
@@ -84,6 +86,8 @@
cas.authn.oidc.discovery.id-token-signing-alg-values-supported=RS256,RS384,RS512
cas.authn.oidc.discovery.user-info-signing-alg-values-supported=RS256,RS384,RS512,PS256,PS384,PS512,ES256,ES384,ES512,HS256,HS384,HS512
cas.authn.oidc.discovery.scopes=openid,profile,email,address,phone,syncope
cas.authn.oauth.core.user-profile-view-type=FLAT
+cas.authn.oauth.session-replication.replicate-sessions=false
+cas.authn.pac4j.core.session-replication.replicate-sessions=false
# Disable access to the login endpoint
# if no target application is specified.
@@ -103,12 +107,6 @@
cas.authn.mfa.web-authn.core.application-id=https://localhost:8443
cas.authn.mfa.web-authn.core.relying-party-name=Syncope
cas.authn.mfa.web-authn.core.relying-party-id=syncope.apache.org
-#
-cas.authn.pac4j.core.session-replication.replicate-sessions=true
-cas.authn.pac4j.core.session-replication.cookie.crypto.enabled=true
-cas.authn.oauth.session-replication.replicate-sessions=true
-cas.authn.oauth.session-replication.cookie.crypto.enabled=true
-
##
# Default strategy for matching request paths against
# registered Spring MVC handler mappings