summaryrefslogtreecommitdiffstats
path: root/lib/SAML2
diff options
context:
space:
mode:
authorOlav Morken <olav.morken@uninett.no>2009-08-03 12:44:26 +0000
committerOlav Morken <olav.morken@uninett.no>2009-08-03 12:44:26 +0000
commitf389bb73ef15d219c1af6b0f94e433878e8dafd9 (patch)
tree5d5a6851b68595b32e42cca21ad3725f97555a17 /lib/SAML2
parent62114cd6688fb011f738c3541c76766e0de9d580 (diff)
downloadsimplesamlphp-f389bb73ef15d219c1af6b0f94e433878e8dafd9.zip
simplesamlphp-f389bb73ef15d219c1af6b0f94e433878e8dafd9.tar.gz
simplesamlphp-f389bb73ef15d219c1af6b0f94e433878e8dafd9.tar.bz2
SAML2: Move constants from sspmod_saml2_Const to SAML2_Const.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1597 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SAML2')
-rw-r--r--lib/SAML2/Const.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/SAML2/Const.php b/lib/SAML2/Const.php
new file mode 100644
index 0000000..896872d
--- /dev/null
+++ b/lib/SAML2/Const.php
@@ -0,0 +1,39 @@
+<?php
+
+/**
+ * Various SAML 2 constants.
+ *
+ * @package simpleSAMLphp
+ * @version $Id$
+ */
+class SAML2_Const {
+
+ /**
+ * Top-level status code indicating successful processing of the request.
+ */
+ const STATUS_SUCCESS = 'urn:oasis:names:tc:SAML:2.0:status:Success';
+
+ /**
+ * Top-level status code indicating that there was a problem with the request.
+ */
+ const STATUS_REQUESTER = 'urn:oasis:names:tc:SAML:2.0:status:Requester';
+
+ /**
+ * Top-level status code indicating that there was a problem generating the response.
+ */
+ const STATUS_RESPONDER = 'urn:oasis:names:tc:SAML:2.0:status:Responder';
+
+ /**
+ * Top-level status code indicating that the request was from an unsupported version of the SAML protocol.
+ */
+ const STATUS_VERSION_MISMATCH = 'urn:oasis:names:tc:SAML:2.0:status:VersionMismatch';
+
+
+ /**
+ * Second-level status code for NoPassive errors.
+ */
+ const STATUS_NO_PASSIVE = 'urn:oasis:names:tc:SAML:2.0:status:NoPassive';
+
+}
+
+?> \ No newline at end of file