Better debug logging.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 18 Mar 2005 22:02:59 +0000 (22:02 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 18 Mar 2005 22:02:59 +0000 (22:02 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1318 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index ba44ab0..d8ab603 100644 (file)
@@ -280,11 +280,11 @@ public class ServiceProviderMapper {
                        attribute = ((Element) partyConfig).getAttribute("defaultToPOSTProfile");
                        if (attribute != null && !attribute.equals("")) {
                                defaultToPOST = Boolean.valueOf(attribute).booleanValue();
-                               if (defaultToPOST) {
-                                       log.debug("Relying party defaults to POST profile.");
-                               } else {
-                                       log.debug("Relying party defaults to Artifact profile.");
-                               }
+                       }
+                       if (defaultToPOST) {
+                               log.debug("Relying party defaults to POST profile.");
+                       } else {
+                               log.debug("Relying party defaults to Artifact profile.");
                        }
 
                        // Determine whether or not we are forcing attribute push on or off