X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Futil%2FSAMLConstants.h;h=50c63e08847f28c332e53bfc11d98dd0652f337e;hb=3e40c0e62375c069e7860a87ca4f65fb2003f018;hp=17de531d4d49168dd7f6fdb6a089e74eb6eb1826;hpb=0cd2ac24566bb0881143d8a9a3428292e6ad19a8;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/util/SAMLConstants.h b/saml/util/SAMLConstants.h index 17de531..50c63e0 100644 --- a/saml/util/SAMLConstants.h +++ b/saml/util/SAMLConstants.h @@ -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[];