From: Scott Cantor Date: Tue, 24 Feb 2009 18:26:48 +0000 (+0000) Subject: Relax restriction on HTTP method. X-Git-Tag: 2.2.0~31 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=eaae48b655432afed546fe624ea58c07b7797447 Relax restriction on HTTP method. --- diff --git a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp index 4c56f2e..5e15190 100644 --- a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp +++ b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp @@ -77,8 +77,6 @@ XMLObject* SAML1ArtifactDecoder::decode( const HTTPRequest* httpRequest=dynamic_cast(&genericRequest); if (!httpRequest) throw BindingException("Unable to cast request object to HTTPRequest type."); - if (strcmp(httpRequest->getMethod(),"GET")) - throw BindingException("Invalid HTTP method ($1).", params(1, httpRequest->getMethod())); vector SAMLart; const char* TARGET = httpRequest->getParameter("TARGET"); if (httpRequest->getParameters("SAMLart", SAMLart)==0 || !TARGET)