Policy rule redesign for factor out issuer handling.
[shibboleth/cpp-opensaml.git] / saml / util / SAMLConstants.h
index 17de531..50c63e0 100644 (file)
@@ -105,8 +105,10 @@ namespace samlconstants {
     /** SAML 1.x Metadata Profile QName prefix ("saml1md") */
     extern SAML_API const XMLCh SAML1MD_PREFIX[];
 
+#ifndef SAML10_PROTOCOL_ENUM
     /** SAML 1.0 Protocol Enumeration constant ("urn:oasis:names:tc:SAML:1.0:protocol") */
     #define SAML10_PROTOCOL_ENUM SAML1P_NS
+#endif
     
     /** SAML 1.1 Protocol Enumeration constant ("urn:oasis:names:tc:SAML:1.1:protocol") */
     extern SAML_API const XMLCh SAML11_PROTOCOL_ENUM[];
@@ -123,12 +125,18 @@ namespace samlconstants {
     /** SAML Third-Party Request Protocol Extension QName prefix ("query") */
     extern SAML_API const XMLCh SAML20P_THIRDPARTY_EXT_PREFIX[];
 
-    /** SAML 1.x Browser Artifact profile ("urn:oasis:names:tc:SAML:1.0:profiles:artifact-01")*/
+    /** SAML 1.x SOAP binding ("urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding") */
+    extern SAML_API const char SAML1_BINDING_SOAP[];
+
+    /** SAML 1.x Browser Artifact profile ("urn:oasis:names:tc:SAML:1.0:profiles:artifact-01") */
     extern SAML_API const char SAML1_PROFILE_BROWSER_ARTIFACT[];
 
     /** SAML 1.x Browser POST profile ("urn:oasis:names:tc:SAML:1.0:profiles:browser-post") */
     extern SAML_API const char SAML1_PROFILE_BROWSER_POST[];
     
+    /** SAML 2.0 SOAP binding ("urn:oasis:names:tc:SAML:2.0:bindings:SOAP") */
+    extern SAML_API const char SAML20_BINDING_SOAP[];
+
     /** SAML 2.0 HTTP-Artifact binding ("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact") */
     extern SAML_API const char SAML20_BINDING_HTTP_ARTIFACT[];