This is an automated email from the ASF dual-hosted git repository. mmoayyed 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 9480636a80 Update CAS to 6.6.1 (#379) 9480636a80 is described below commit 9480636a80600af911a3c1cd372707e83f210fde Author: Misagh Moayyed <mm1...@gmail.com> AuthorDate: Fri Oct 7 17:56:30 2022 +0400 Update CAS to 6.6.1 (#379) --- pom.xml | 2 +- .../syncope/wa/bootstrap/AuthModulePropertySourceMapper.java | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 0e43064db9..cb084ee37e 100644 --- a/pom.xml +++ b/pom.xml @@ -450,7 +450,7 @@ under the License. <pac4j.version>5.5.0</pac4j.version> - <cas.version>6.6.0</cas.version> + <cas.version>6.6.1</cas.version> <cas-client.version>3.6.4</cas-client.version> <h2.version>2.1.214</h2.version> diff --git a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/AuthModulePropertySourceMapper.java b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/AuthModulePropertySourceMapper.java index db34f76813..b14c7fe137 100644 --- a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/AuthModulePropertySourceMapper.java +++ b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/AuthModulePropertySourceMapper.java @@ -18,8 +18,6 @@ */ package org.apache.syncope.wa.bootstrap; -import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter; -import com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider; import java.util.Map; import java.util.Optional; import java.util.concurrent.TimeUnit; @@ -268,10 +266,6 @@ public class AuthModulePropertySourceMapper extends PropertySourceMapper impleme } } - // workaround to remove with CAS >= 6.6.1 - return prefix("cas.authn.mfa.simple.", CasCoreConfigurationUtils.asMap( - props, - new SimpleFilterProvider().setDefaultFilter( - SimpleBeanPropertyFilter.serializeAllExcept("defined", "undefined")))); + return prefix("cas.authn.mfa.simple.", CasCoreConfigurationUtils.asMap(props)); } }