git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@357
fb386ef7-a10c-0410-8ebf-
fd3f8e989ab0
vector<const char*> SAMLart;
const char* TARGET = httpRequest->getParameter("TARGET");
if (httpRequest->getParameters("SAMLart", SAMLart)==0 || !TARGET)
vector<const char*> SAMLart;
const char* TARGET = httpRequest->getParameter("TARGET");
if (httpRequest->getParameters("SAMLart", SAMLart)==0 || !TARGET)
- throw BindingException("Request missing SAMLart or TARGET parameters.");
+ throw BindingException("Request missing SAMLart or TARGET query string parameters.");
relayState = TARGET;
if (!m_artifactResolver || !policy.getMetadataProvider() || !policy.getRole())
relayState = TARGET;
if (!m_artifactResolver || !policy.getMetadataProvider() || !policy.getRole())
const char* samlResponse = httpRequest->getParameter("SAMLResponse");
const char* TARGET = httpRequest->getParameter("TARGET");
if (!samlResponse || !TARGET)
const char* samlResponse = httpRequest->getParameter("SAMLResponse");
const char* TARGET = httpRequest->getParameter("TARGET");
if (!samlResponse || !TARGET)
- throw BindingException("Request missing SAMLResponse or TARGET parameters.");
+ throw BindingException("Request missing SAMLResponse or TARGET form parameters.");
relayState = TARGET;
// Decode the base64 into SAML.
relayState = TARGET;
// Decode the base64 into SAML.
throw BindingException("Unable to cast request object to HTTPRequest type.");
const char* SAMLart = httpRequest->getParameter("SAMLart");
if (!SAMLart)
throw BindingException("Unable to cast request object to HTTPRequest type.");
const char* SAMLart = httpRequest->getParameter("SAMLart");
if (!SAMLart)
- throw BindingException("Request missing SAMLart parameter.");
+ throw BindingException("Request missing SAMLart query string or form parameter.");
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;
if (!msg)
msg = httpRequest->getParameter("SAMLRequest");
if (!msg)
if (!msg)
msg = httpRequest->getParameter("SAMLRequest");
if (!msg)
- throw BindingException("Request missing SAMLRequest or SAMLResponse parameter.");
+ throw BindingException("Request missing SAMLRequest or SAMLResponse form parameter.");
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;
if (!msg)
msg = httpRequest->getParameter("SAMLRequest");
if (!msg)
if (!msg)
msg = httpRequest->getParameter("SAMLRequest");
if (!msg)
- throw BindingException("Request missing SAMLRequest or SAMLResponse parameter.");
+ throw BindingException("Request missing SAMLRequest or SAMLResponse query string parameter.");
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;
const char* state = httpRequest->getParameter("RelayState");
if (state)
relayState = state;