From eaae48b655432afed546fe624ea58c07b7797447 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 24 Feb 2009 18:26:48 +0000 Subject: [PATCH] Relax restriction on HTTP method. --- saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.1.4