Added name of default relying party to log message when it is used. - Addresses bug 430
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 20 Jan 2006 13:01:34 +0000 (13:01 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 20 Jan 2006 13:01:34 +0000 (13:01 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1920 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/provider/SAMLv1_AttributeQueryHandler.java

index 5e9959e..ef372c1 100644 (file)
@@ -169,8 +169,10 @@ public class SAMLv1_AttributeQueryHandler extends BaseServiceHandler implements
                
                if (effectiveName == null) {
                        log.info("Unable to locate metadata about provider, treating as an unauthenticated service provider.");
-                       log.debug("Using default Relying Party for unauthenticated provider.");
                        relyingParty = support.getServiceProviderMapper().getRelyingParty(null);
+            if(log.isDebugEnabled()) {
+                log.debug("Using default Relying Party, " + relyingParty.getName() + " for unauthenticated provider.");
+            }
                }
                else {
                        // Identify a Relying Party