projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69a716d
)
Relax restriction on HTTP method.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 24 Feb 2009 18:26:48 +0000
(18:26 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 24 Feb 2009 18:26:48 +0000
(18:26 +0000)
saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp
patch
|
blob
|
history
diff --git
a/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp
b/saml/saml1/binding/impl/SAML1ArtifactDecoder.cpp
index
4c56f2e
..
5e15190
100644
(file)
--- 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<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)