Add short name to encoders/decoders for endpoint generation.
[shibboleth/cpp-opensaml.git] / saml / saml1 / binding / impl / SAML1SOAPEncoder.cpp
index b41f196..43c96c4 100644 (file)
@@ -54,6 +54,14 @@ namespace opensaml {
                 return false;
             }
 
+            const char* getShortName() const {
+                return "POST";
+            }
+
+            const XMLCh* getProtocolFamily() const {
+                return samlconstants::SAML11_PROTOCOL_ENUM;
+            }
+
             long encode(
                 GenericResponse& genericResponse,
                 XMLObject* xmlObject,