Add short name to encoders/decoders for endpoint generation.
[shibboleth/cpp-opensaml.git] / saml / saml2 / binding / impl / SAML2ECPEncoder.cpp
index 10e6252..103080c 100644 (file)
@@ -64,6 +64,14 @@ namespace opensaml {
                 delete m_idpList;
             }
 
+            const XMLCh* getProtocolFamily() const {
+                return samlconstants::SAML20P_NS;
+            }
+
+            const char* getShortName() const {
+                return "ECP";
+            }
+
             long encode(
                 GenericResponse& genericResponse,
                 XMLObject* xmlObject,