#include "saml2/metadata/Metadata.h"
#include "saml2/metadata/MetadataProvider.h"
+#include <boost/scoped_ptr.hpp>
#include <xmltooling/logging.h>
#include <xmltooling/XMLToolingConfig.h>
#include <xmltooling/io/HTTPRequest.h>
using namespace opensaml;
using namespace xmltooling::logging;
using namespace xmltooling;
+using namespace boost;
using namespace std;
namespace opensaml {
#ifdef _DEBUG
xmltooling::NDC ndc("decode");
#endif
- Category& log = Category::getInstance(SAML_LOGCAT".MessageDecoder.SAML2Artifact");
+ Category& log = Category::getInstance(SAML_LOGCAT ".MessageDecoder.SAML2Artifact");
log.debug("validating input");
const HTTPRequest* httpRequest=dynamic_cast<const HTTPRequest*>(&genericRequest);
throw BindingException("Artifact binding requires ArtifactResolver and MetadataProvider implementations be supplied.");
// Import the artifact.
- auto_ptr<SAMLArtifact> artifact;
+ scoped_ptr<SAMLArtifact> artifact;
try {
log.debug("processing encoded artifact (%s)", SAMLart);