X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=blobdiff_plain;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1ArtifactEncoder.cpp;h=672aeebe2716e72beae134603a1e78038343c998;hp=b592b7b71aaf7c789da6e57a2d50ff3f0f91fd33;hb=359b4db29548e8f45fbd4a4b8b35df0d53fb9f25;hpb=6b6567475b3e640fd24017ab26f6acbc23febba4 diff --git a/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp b/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp index b592b7b..672aeeb 100644 --- a/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp +++ b/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp @@ -110,6 +110,10 @@ long SAML1ArtifactEncoder::encode( // Obtain a fresh artifact. if (!artifactGenerator) throw BindingException("SAML 1.x Artifact Encoder requires an ArtifactGenerator instance."); + + if (log.isDebugEnabled()) + log.debugStream() << "marshalled assertion: " << *xmlObject << logging::eol; + auto_ptr_char recipientID(recipient ? recipient->getEntityID() : NULL); log.debug("obtaining new artifact for relying party (%s)", recipientID.get() ? recipientID.get() : "unknown"); auto_ptr artifact(artifactGenerator->generateSAML1Artifact(recipient));