This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 4_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_0_X by this push:
new c88aa6a9ca [SYNCOPE-1891] Provides mapped attributes setting into
SAML2IdPAuthModuleConf (#1124)
c88aa6a9ca is described below
commit c88aa6a9ca69d7271f74d578d9741fab1faa7b90
Author: Fabio Martelli <[email protected]>
AuthorDate: Thu Jul 3 13:35:17 2025 +0200
[SYNCOPE-1891] Provides mapped attributes setting into
SAML2IdPAuthModuleConf (#1124)
---
.../syncope/wa/bootstrap/mapping/AuthModulePropertySourceMapper.java | 3 +++
1 file changed, 3 insertions(+)
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 df1d4a1e07..80aebd228b 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
@@ -303,6 +303,9 @@ public class AuthModulePropertySourceMapper extends
PropertySourceMapper impleme
props.setNameIdPolicyAllowCreate(Optional.ofNullable(conf.getNameIdPolicyAllowCreate()).
map(v -> TriStateBoolean.valueOf(v.name())).
orElse(TriStateBoolean.UNDEFINED));
+ props.setMappedAttributes(authModuleTO.getItems().stream().
+ map(item -> item.getIntAttrName() + "->" +
item.getExtAttrName()).
+ toList());
return prefix("cas.authn.pac4j.saml[].", WAConfUtils.asMap(props));
}