diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-28 10:26:17 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-28 10:26:17 +0000 |
| commit | 2f6fc613558c72c283106993cba5fbd39db32ddd (patch) | |
| tree | 2e4a5481e9302be26efbc617b1ef90018ce6cd48 /python | |
| parent | 1c4f154e2a5666e59675bf62d2ada178bedb2e9f (diff) | |
| download | lasso-2f6fc613558c72c283106993cba5fbd39db32ddd.tar.gz lasso-2f6fc613558c72c283106993cba5fbd39db32ddd.tar.xz lasso-2f6fc613558c72c283106993cba5fbd39db32ddd.zip | |
*** empty log message ***
Diffstat (limited to 'python')
| -rwxr-xr-x | python/generator_lasso_strings.py | 5 | ||||
| -rw-r--r-- | python/lasso_strings.py | 18 |
2 files changed, 21 insertions, 2 deletions
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<text>.*)\n$') -MATCH_CONST = re.compile(r'^const\s+gchar\s+(?P<name>\w+)\[\]\s*=\s+(?P<value>.*)\n$') +MATCH_CONST = re.compile(r'^const\s+xmlChar\s+(?P<name>\w+)\[\]\s*=\s+(?P<value>.*)\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" |
