From 2f6fc613558c72c283106993cba5fbd39db32ddd Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Wed, 28 Apr 2004 10:26:17 +0000 Subject: *** empty log message *** --- python/generator_lasso_strings.py | 5 +++-- python/lasso_strings.py | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/generator_lasso_strings.py b/python/generator_lasso_strings.py index f177910a..5f1b2ee7 100755 --- a/python/generator_lasso_strings.py +++ b/python/generator_lasso_strings.py @@ -28,7 +28,7 @@ import re, sys, string MATCH_BLANK = re.compile(r'^\s*\n$') MATCH_COMMENT = re.compile(r'^[ /]+(?P.*)\n$') -MATCH_CONST = re.compile(r'^const\s+gchar\s+(?P\w+)\[\]\s*=\s+(?P.*)\n$') +MATCH_CONST = re.compile(r'^const\s+xmlChar\s+(?P\w+)\[\]\s*=\s+(?P.*)\n$') header = """# $%s$ # @@ -55,7 +55,8 @@ header = """# $%s$ # """ % "Id" -file_in = sys.argv[1] +#file_in = sys.argv[1] +file_in = "../lasso/xml/strings.c" file_out = "./lasso_strings.py" fd_in = open(file_in, "r") diff --git a/python/lasso_strings.py b/python/lasso_strings.py index 093473aa..d3498757 100644 --- a/python/lasso_strings.py +++ b/python/lasso_strings.py @@ -50,6 +50,10 @@ # * Liberty Alliance */ # *****************************************************************************/ +# * prefix & href */ +libHRef = "urn:liberty:iff:2003-08" +libPrefix = "lib" + # * Versioning */ libMajorVersion = "1" libMinorVersion = "2" @@ -67,7 +71,15 @@ libAuthnContextComparisonBetter = "better" # * StatusCodes */ libStatusCodeFederationDoesNotExist = "lib:FederationDoesNotExist" +libStatusCodeInvalidAssertionConsumerServiceIndex = "lib:InvalidAssertionConsumerServiceIndex" +libStatusCodeInvalidSignature = "lib:InvalidSignature" +libStatusCodeNoAuthnContext = "lib:NoAuthnContext" +libStatusCodeNoAvailableIDP = "lib:NoAvailableIDP" libStatusCodeNoPassive = "lib:NoPassive" +libStatusCodeNoSupportedIDP = "lib:NoSupportedIDP" +libStatusCodeProxyCountExceeded = "lib:ProxyCountExceeded" +libStatusCodeUnknownPrincipal = "lib:UnknownPrincipal" +libStatusCodeUnsignedAuthnRequest = "lib:UnsignedAuthnRequest" # * ProtocolProfile */ libProtocolProfileArtifact = "http://projectliberty.org/profiles/brws-art" @@ -89,6 +101,12 @@ libProtocolProfileSloIdpSoap = "http://projectliberty.org/profiles/slo-idp-soap" # * SAML */ # *****************************************************************************/ +# * prefix & href */ +samlAssertionHRef = "urn:oasis:names:tc:SAML:1.0:assertion" +samlAssertionPrefix = "saml" +samlProtocolHRef = "urn:oasis:names:tc:SAML:1.0:protocol" +samlProtocolPrefix = "samlp" + # * Versioning */ samlMajorVersion = "1" samlMinorVersion = "0" -- cgit