void ArtifactMappings::storeContent(XMLObject* content, const SAMLArtifact* artifact, const char* relyingParty, int TTL)
{
- Lock wrapper(m_lock.get());
+ Lock wrapper(m_lock);
// Garbage collect any expired artifacts.
time_t now = time(nullptr);
XMLObject* ArtifactMappings::retrieveContent(const SAMLArtifact* artifact, const char* relyingParty)
{
- Category& log=Category::getInstance(SAML_LOGCAT".ArtifactMap");
- Lock wrapper(m_lock.get());
+ Category& log=Category::getInstance(SAML_LOGCAT ".ArtifactMap");
+ Lock wrapper(m_lock);
map<string,Mapping>::iterator i = m_artMap.find(SAMLArtifact::toHex(artifact->getMessageHandle()));
if (i == m_artMap.end())
#ifdef _DEBUG
xmltooling::NDC ndc("retrieveContent");
#endif
- Category& log=Category::getInstance(SAML_LOGCAT".ArtifactMap");
+ Category& log=Category::getInstance(SAML_LOGCAT ".ArtifactMap");
if (!m_storage)
return m_mappings->retrieveContent(artifact, relyingParty);