Helps to actually set the parameter.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 1 Jul 2005 22:38:20 +0000 (22:38 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 1 Jul 2005 22:38:20 +0000 (22:38 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1678 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/ServiceProviderMapper.java

index a00e8c7..50f55b4 100644 (file)
@@ -287,6 +287,16 @@ public class ServiceProviderMapper {
                                log.debug("Relying party defaults to Artifact profile.");
                        }
 
+                       attribute = ((Element) partyConfig).getAttribute("singleAssertion");
+                       if (attribute != null && !attribute.equals("")) {
+                               singleAssertion = Boolean.valueOf(attribute).booleanValue();
+                       }
+                       if (singleAssertion) {
+                               log.debug("Relying party defaults to a single assertion when pushing attributes.");
+                       } else {
+                               log.debug("Relying party defaults to multiple assertions when pushing attributes.");
+                       }
+                       
                        // Relying Party wants assertions signed?
                        attribute = ((Element) partyConfig).getAttribute("signAssertions");
                        if (attribute != null && !attribute.equals("")) {