[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml

noreply at shibboleth.net noreply at shibboleth.net
Thu Jul 31 13:47:50 EDT 2014


Author: dfisher
Date: Thu Jul 31 13:47:50 2014
New Revision: 6374

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6374&view=rev
Log:
Wire principal serializers in order to support serializing LdapPrincipal.
Fixes IDP-457.

Modified:
    trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml

Modified: trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml?rev=6374&r1=6373&r2=6374&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/general-authn-system.xml Thu Jul 31 13:47:50 2014
@@ -49,6 +49,12 @@
     -->
     <bean id="shibboleth.DefaultAuthenticationResultSerializer"
             class="net.shibboleth.idp.authn.impl.DefaultAuthenticationResultSerializer">
+        <property name="principalSerializers">
+            <util:list>
+                <bean class="net.shibboleth.idp.authn.principal.impl.UsernamePrincipalSerializer" />
+                <bean class="net.shibboleth.idp.authn.principal.impl.LDAPPrincipalSerializer" />
+            </util:list>
+        </property>
         <property name="genericPrincipalSerializer.symbolics">
             <map>
                 <!-- Custom principal types. -->



More information about the commits mailing list