virtual ~MessageDecoder() {}
/**
+ * Indicates whether a web browser or similar user agent delivered the message.
+ *
+ * @return true iff the message was delivered by a user agent
+ */
+ virtual bool isUserAgentPresent() const {
+ return true;
+ }
+
+ /**
* Interface to caller-supplied artifact resolution mechanism.
*
* Resolving artifacts requires internally performing a SOAP-based
}
/**
+ * Indicates whether a web browser or similar user agent will receive the message.
+ *
+ * @return true iff the message will be handled by a user agent
+ */
+ virtual bool isUserAgentPresent() const {
+ return true;
+ }
+
+ /**
* Interface to caller-supplied artifact generation mechanism.
*
* Generating an artifact for storage and retrieval requires knowledge of
public:
SAML1SOAPDecoder(const DOMElement* e) {}
virtual ~SAML1SOAPDecoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
public:
SAML1SOAPEncoder(const DOMElement* e) {}
virtual ~SAML1SOAPEncoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,
public:
SAML2SOAPDecoder(const DOMElement* e);
virtual ~SAML2SOAPDecoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
xmltooling::XMLObject* decode(
std::string& relayState,
const GenericRequest& genericRequest,
public:
SAML2SOAPEncoder(const DOMElement* e);
virtual ~SAML2SOAPEncoder() {}
-
+
+ bool isUserAgentPresent() const {
+ return false;
+ }
+
long encode(
GenericResponse& genericResponse,
XMLObject* xmlObject,