X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1ArtifactEncoder.cpp;h=f8797b83401f235f590bde534634ee52dd461b31;hb=25e13c8d1138bb4a9509e359eee3ce1c26becc27;hp=b592b7b71aaf7c789da6e57a2d50ff3f0f91fd33;hpb=9fddf9054c76de6239295b98a559fcc75453effc;p=shibboleth%2Fopensaml2.git diff --git a/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp b/saml/saml1/binding/impl/SAML1ArtifactEncoder.cpp index b592b7b..f8797b8 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:" << logging::eol << *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));