Relax restriction on HTTP method.
authorScott Cantor <cantor.2@osu.edu>
Tue, 24 Feb 2009 18:26:48 +0000 (18:26 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 24 Feb 2009 18:26:48 +0000 (18:26 +0000)
saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp

index 4c56f2e..5e15190 100644 (file)
@@ -77,8 +77,6 @@ XMLObject* SAML1ArtifactDecoder::decode(
     const HTTPRequest* httpRequest=dynamic_cast<const HTTPRequest*>(&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<const char*> SAMLart;
     const char* TARGET = httpRequest->getParameter("TARGET");
     if (httpRequest->getParameters("SAMLart", SAMLart)==0 || !TARGET)