[java-identity-provider] branch master updated: IDP-1279 use getDisplayName when outputting JSON from resolvertest

Rod Widdowson rdw at steadingsoftware.com
Wed Apr 25 10:56:13 EDT 2018


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=6b76f6dc94f61cfac6758238400dc53b0e30778d

The following commit(s) were added to refs/heads/master by this push:
       new  6b76f6d   IDP-1279 use getDisplayName when outputting JSON from resolvertest
6b76f6d is described below

commit 6b76f6dc94f61cfac6758238400dc53b0e30778d
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Apr 25 15:55:00 2018 +0100

    IDP-1279 use getDisplayName when outputting JSON from resolvertest
    
    https://issues.shibboleth.net/jira/browse/IDP-1279
---
 idp-conf/src/main/resources/system/views/resolvertest.vm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-conf/src/main/resources/system/views/resolvertest.vm b/idp-conf/src/main/resources/system/views/resolvertest.vm
index a6cc6ba..9a28d13 100644
--- a/idp-conf/src/main/resources/system/views/resolvertest.vm
+++ b/idp-conf/src/main/resources/system/views/resolvertest.vm
@@ -34,7 +34,7 @@ $SerializeSupport.prettyPrintXML($XMLObjectSupport.marshall($profileRequestConte
     "name": "$attribute.getId()",
     "values": [
       #foreach ($value in $attribute.getValues())
-        "$value.toString().replace('"','\"')"#if( $foreach.hasNext ),#end
+        "$value.getDisplayValue()"#if( $foreach.hasNext ),#end
       #end
     ]
   }#if( $foreach.hasNext ),#end

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list