#include <sys/types.h>
#include <sys/stat.h>
-#include <log4cpp/Category.hh>
-
+using namespace xmlproviders::logging;
using namespace shibboleth;
using namespace saml;
-using namespace log4cpp;
using namespace std;
namespace {
DOMElement* child=saml::XML::getFirstChildElement(m_root);
while (child) {
string cr_type;
- auto_ptr<char> id(XMLString::transcode(child->getAttributeNS(NULL,SHIB_L(Id))));
+ auto_ptr_char id(child->getAttributeNS(NULL,SHIB_L(Id)));
if (saml::XML::isElementNamed(child,::XML::CREDS_NS,SHIB_L(FileResolver)))
cr_type="edu.internet2.middleware.shibboleth.common.Credentials.FileCredentialResolver";
}
}
catch (SAMLException& e) {
- log.errorStream() << "Error while parsing creds configuration: " << e.what() << CategoryStream::ENDLINE;
- this->~XMLCredentialsImpl();
+ log.errorStream() << "Error while parsing creds configuration: " << e.what() << xmlproviders::logging::eol;
throw;
}
#ifndef _DEBUG
catch (...) {
log.error("Unexpected error while parsing creds configuration");
- this->~XMLCredentialsImpl();
throw;
}
#endif