[cpp-sp] branch main updated: Remove SAML 1 constants.
Scott Cantor
cantor.2 at osu.edu
Mon Nov 4 21:17:01 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=dc042760a984d9b81a0eeada1c9f2e97a3684d3e
The following commit(s) were added to refs/heads/main by this push:
new dc042760 Remove SAML 1 constants.
dc042760 is described below
commit dc042760a984d9b81a0eeada1c9f2e97a3684d3e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 4 16:16:57 2024 -0500
Remove SAML 1 constants.
---
shibsp/lite/SAMLConstants.cpp | 24 ------------------------
shibsp/lite/SAMLConstants.h | 21 ---------------------
2 files changed, 45 deletions(-)
diff --git a/shibsp/lite/SAMLConstants.cpp b/shibsp/lite/SAMLConstants.cpp
index 0af86374..4caf005c 100644
--- a/shibsp/lite/SAMLConstants.cpp
+++ b/shibsp/lite/SAMLConstants.cpp
@@ -41,24 +41,6 @@ const XMLCh samlconstants::PAOS_NS[] = // urn:liberty:paos:2003-08
const XMLCh samlconstants::PAOS_PREFIX[] = UNICODE_LITERAL_4(p,a,o,s);
-const XMLCh samlconstants::SAML1_NS[] = // urn:oasis:names:tc:SAML:1.0:assertion
-{ chLatin_u, chLatin_r, chLatin_n, chColon, chLatin_o, chLatin_a, chLatin_s, chLatin_i, chLatin_s, chColon,
- chLatin_n, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chColon, chLatin_t, chLatin_c, chColon,
- chLatin_S, chLatin_A, chLatin_M, chLatin_L, chColon, chDigit_1, chPeriod, chDigit_0, chColon,
- chLatin_a, chLatin_s, chLatin_s, chLatin_e, chLatin_r, chLatin_t, chLatin_i, chLatin_o, chLatin_n, chNull
-};
-
-const XMLCh samlconstants::SAML1P_NS[] = // urn:oasis:names:tc:SAML:1.0:protocol
-{ chLatin_u, chLatin_r, chLatin_n, chColon, chLatin_o, chLatin_a, chLatin_s, chLatin_i, chLatin_s, chColon,
- chLatin_n, chLatin_a, chLatin_m, chLatin_e, chLatin_s, chColon, chLatin_t, chLatin_c, chColon,
- chLatin_S, chLatin_A, chLatin_M, chLatin_L, chColon, chDigit_1, chPeriod, chDigit_0, chColon,
- chLatin_p, chLatin_r, chLatin_o, chLatin_t, chLatin_o, chLatin_c, chLatin_o, chLatin_l, chNull
-};
-
-const XMLCh samlconstants::SAML1_PREFIX[] = UNICODE_LITERAL_4(s,a,m,l);
-
-const XMLCh samlconstants::SAML1P_PREFIX[] = UNICODE_LITERAL_5(s,a,m,l,p);
-
const XMLCh samlconstants::SAML20_VERSION[] = // 2.0
{ chDigit_2, chPeriod, chDigit_0, chNull
};
@@ -238,12 +220,6 @@ const XMLCh samlconstants::SAML20_DELEGATION_CONDITION_NS[] = // urn:oasis:names
const XMLCh samlconstants::SAML20_DELEGATION_CONDITION_PREFIX[] = UNICODE_LITERAL_3(d,e,l);
-const char samlconstants::SAML1_BINDING_SOAP[] = "urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding";
-
-const char samlconstants::SAML1_PROFILE_BROWSER_ARTIFACT[] = "urn:oasis:names:tc:SAML:1.0:profiles:artifact-01";
-
-const char samlconstants::SAML1_PROFILE_BROWSER_POST[] = "urn:oasis:names:tc:SAML:1.0:profiles:browser-post";
-
const char samlconstants::SAML20_BINDING_SOAP[] = "urn:oasis:names:tc:SAML:2.0:bindings:SOAP";
const char samlconstants::SAML20_BINDING_PAOS[] = "urn:oasis:names:tc:SAML:2.0:bindings:PAOS";
diff --git a/shibsp/lite/SAMLConstants.h b/shibsp/lite/SAMLConstants.h
index eee03ae1..d2120414 100644
--- a/shibsp/lite/SAMLConstants.h
+++ b/shibsp/lite/SAMLConstants.h
@@ -41,18 +41,6 @@ namespace samlconstants {
/** Liberty PAOS QName prefix ("paos") */
extern SHIBSP_API const XMLCh PAOS_PREFIX[];
- /** SAML 1.X Assertion XML namespace ("urn:oasis:names:tc:SAML:1.0:assertion") */
- extern SHIBSP_API const XMLCh SAML1_NS[];
-
- /** SAML 1.X Protocol XML namespace ("urn:oasis:names:tc:SAML:1.0:protocol") */
- extern SHIBSP_API const XMLCh SAML1P_NS[];
-
- /** SAML 1.X Assertion QName prefix ("saml") */
- extern SHIBSP_API const XMLCh SAML1_PREFIX[];
-
- /** SAML 1.X Protocol QName prefix ("samlp") */
- extern SHIBSP_API const XMLCh SAML1P_PREFIX[];
-
/** SAML 2.0 Version ("2.0") */
extern SHIBSP_API const XMLCh SAML20_VERSION[];
@@ -158,15 +146,6 @@ namespace samlconstants {
/** SAML Condition for Delegation Restriction QName prefix ("del") */
extern SHIBSP_API const XMLCh SAML20_DELEGATION_CONDITION_PREFIX[];
- /** SAML 1.x SOAP binding ("urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding") */
- extern SHIBSP_API const char SAML1_BINDING_SOAP[];
-
- /** SAML 1.x Browser Artifact profile ("urn:oasis:names:tc:SAML:1.0:profiles:artifact-01") */
- extern SHIBSP_API const char SAML1_PROFILE_BROWSER_ARTIFACT[];
-
- /** SAML 1.x Browser POST profile ("urn:oasis:names:tc:SAML:1.0:profiles:browser-post") */
- extern SHIBSP_API const char SAML1_PROFILE_BROWSER_POST[];
-
/** SAML 2.0 SOAP binding ("urn:oasis:names:tc:SAML:2.0:bindings:SOAP") */
extern SHIBSP_API const char SAML20_BINDING_SOAP[];
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list