X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1ArtifactDecoder.cpp;h=24b84237a845f1c1c3a42584bcea529b96f1b59e;hb=90ade2861c4d44e13d4d0013034fbd66cd294069;hp=2d1b23cefed698401bd0d1aa20d4e0ab8ca2bb1b;hpb=02f892a7a7a49f26389da7d7085aee53a5c41d72;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp index 2d1b23c..24b8423 100644 --- a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp +++ b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp @@ -23,7 +23,6 @@ #include "internal.h" #include "exceptions.h" #include "saml/binding/SAMLArtifact.h" -#include "saml/binding/ReplayCache.h" #include "saml1/binding/SAML1ArtifactDecoder.h" #include "saml2/metadata/Metadata.h" #include "saml2/metadata/MetadataProvider.h" @@ -31,6 +30,7 @@ #include #include +#include using namespace opensaml::saml2md; using namespace opensaml::saml1p; @@ -88,7 +88,7 @@ Response* SAML1ArtifactDecoder::decode( log.debug("processing encoded artifact (%s)", *raw); // Check replay. - ReplayCache* replayCache = SAMLConfig::getConfig().getReplayCache(); + ReplayCache* replayCache = XMLToolingConfig::getConfig().getReplayCache(); if (replayCache) { if (!replayCache->check("SAML1Artifact", *raw, time(NULL) + (2*XMLToolingConfig::getConfig().clock_skew_secs))) { log.error("replay detected of artifact (%s)", *raw);