Revamped binding classes with security policy layer.
[shibboleth/cpp-opensaml.git] / saml / saml1 / core / impl / ProtocolsImpl.cpp
index a823253..550367c 100644 (file)
@@ -361,6 +361,9 @@ namespace opensaml {
                 pair<bool,int> v = getMinorVersion();
                 return (!v.first || v.second > 0) ? m_RequestID : NULL;
             }
+            const XMLCh* getID() const {
+                return getRequestID();
+            }
             IMPL_DATETIME_ATTRIB(IssueInstant,0);
             IMPL_TYPED_CHILDREN(RespondWith,m_pos_Signature);
     
@@ -680,6 +683,9 @@ namespace opensaml {
                 pair<bool,int> v = getMinorVersion();
                 return (!v.first || v.second > 0) ? m_ResponseID : NULL;
             }
+            const XMLCh* getID() const {
+                return getResponseID();
+            }
             IMPL_STRING_ATTRIB(InResponseTo);
             IMPL_DATETIME_ATTRIB(IssueInstant,0);
             IMPL_STRING_ATTRIB(Recipient);