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())
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.
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;
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;
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;