X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1POSTDecoder.cpp;h=e4f01ddff31d613f6b30dbe32fa29a1dc9f66cb5;hb=a3920d52b3f6ed678e72b820d9c90b6acaf38116;hp=de0deaaf206ed924873db02726cabdd18211ee6c;hpb=186dc7377f102170e27497ca93f5e0a4d531c4df;p=shibboleth%2Fopensaml2.git diff --git a/saml/saml1/binding/impl/SAML1POSTDecoder.cpp b/saml/saml1/binding/impl/SAML1POSTDecoder.cpp index de0deaa..e4f01dd 100644 --- a/saml/saml1/binding/impl/SAML1POSTDecoder.cpp +++ b/saml/saml1/binding/impl/SAML1POSTDecoder.cpp @@ -22,7 +22,7 @@ #include "internal.h" #include "exceptions.h" -#include "saml/binding/ReplayCache.h" +#include "saml1/core/Assertions.h" #include "saml1/binding/SAML1POSTDecoder.h" #include "saml2/metadata/Metadata.h" #include "saml2/metadata/MetadataProvider.h" @@ -31,6 +31,8 @@ #include #include #include +#include +#include using namespace opensaml::saml2md; using namespace opensaml::saml1p; @@ -121,7 +123,7 @@ Response* SAML1POSTDecoder::decode( throw BindingException("Detected expired POST profile response."); // Check replay. - ReplayCache* replayCache = SAMLConfig::getConfig().getReplayCache(); + ReplayCache* replayCache = XMLToolingConfig::getConfig().getReplayCache(); if (replayCache) { auto_ptr_char id(response->getResponseID()); if (!replayCache->check("SAML1POST", id.get(), response->getIssueInstant()->getEpoch() + (2*XMLToolingConfig::getConfig().clock_skew_secs))) {