Properly encode artifacts for log messages.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Apr 2005 21:28:43 +0000 (21:28 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 7 Apr 2005 21:28:43 +0000 (21:28 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1387 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index ef0495c..8a242ba 100644 (file)
@@ -109,7 +109,7 @@ public class SAMLv1_1ArtifactQueryHandler extends BaseServiceHandler implements
                while (artifacts.hasNext()) {
                        queriedArtifacts++;
                        Artifact artifact = (Artifact) artifacts.next();
-                       log.info("Dereferencing artifact: (" + artifact.toString() + ").");
+                       log.info("Dereferencing artifact: (" + artifact.encode() + ").");
                        ArtifactMapping mapping = support.getArtifactMapper().recoverAssertion(artifact);
 
                        if (mapping == null) {