From 306a8f68b91ac238a7b816f1e42d5a22218f361a Mon Sep 17 00:00:00 2001 From: Rolain Djeumen Date: Tue, 22 Oct 2024 16:33:51 +0100 Subject: [PATCH] fix: properly returning multivalue attributes for non ldap persistenc stores Signed-off-by: Rolain Djeumen --- .../shibboleth3/idp/attribute-resolver.xml.vm | 44 +++++++++++++++++-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/configuration/src/main/resources/META-INF/shibboleth3/idp/attribute-resolver.xml.vm b/configuration/src/main/resources/META-INF/shibboleth3/idp/attribute-resolver.xml.vm index c23dfb470..72273ff63 100644 --- a/configuration/src/main/resources/META-INF/shibboleth3/idp/attribute-resolver.xml.vm +++ b/configuration/src/main/resources/META-INF/shibboleth3/idp/attribute-resolver.xml.vm @@ -36,12 +36,50 @@ #if( $attribute.name.equals('eppnForNIH') ) - - + +#elseif( $resovlerParams.persistenceType.equals('sql') && $attribute.oxMultiValuedAttribute == false ) + + + +#elseif( $attribute.oxMultiValuedAttribute == false) + + + +#else + + + #end #end