diff options
author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-21 14:12:24 +0000 |
---|---|---|
committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-21 14:12:24 +0000 |
commit | 08254badc10dc83c4bb941e498aba0737deff485 (patch) | |
tree | be02679af76f41f5886180b10fcec0cfbc9264db /python | |
parent | 46738d03eacf3b0368e50674194f6f05cae2cddf (diff) | |
download | lasso-08254badc10dc83c4bb941e498aba0737deff485.tar.gz lasso-08254badc10dc83c4bb941e498aba0737deff485.tar.xz lasso-08254badc10dc83c4bb941e498aba0737deff485.zip |
*** empty log message ***
Diffstat (limited to 'python')
-rw-r--r-- | python/examples/logout-from-idp.py | 2 | ||||
-rw-r--r-- | python/protocols/py_logout_request.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/python/examples/logout-from-idp.py b/python/examples/logout-from-idp.py index 38266d44..398b9695 100644 --- a/python/examples/logout-from-idp.py +++ b/python/examples/logout-from-idp.py @@ -17,7 +17,7 @@ server.add_provider("../../examples/sp3.xml", None, None) # user : -sp1_identity = """<LassoIdentity RemoteProviderID="https://service-provider1:2003/liberty-alliance/metadata"><LassoRemoteNameIdentifier><NameIdentifier NameQualifier="https://identity-provider:2003/liberty-alliance/metadata" Format="federated">111111111111111111111111</NameIdentifier></LassoRemoteNameIdentifier></LassoIdentity>""" +sp1_identity = """<LassoIdentity RemoteProviderID="https://service-provider1:2003/liberty-alliance/metadata"><LassoRemoteNameIdentifier><NameIdentifier NameQualifier="https://identity-provider:2003/liberty-alliance/metadata" Format="federated">111111111111111111111111</NameIdentifier></LassoRemoteNameIdentifier><LassoLocalNameIdentifier><NameIdentifier NameQualifier="https://identity-provider:2003/liberty-alliance/metadata" Format="federated">222222222222222222222222</NameIdentifier></LassoLocalNameIdentifier></LassoIdentity>""" sp1_assertion = """<LassoAssertion RemoteProviderID="https://service-provider1:2003/liberty-alliance/metadata"><Assertion AssertionID="1234567890"></Assertion></LassoAssertion>""" sp2_identity = """<LassoIdentity RemoteProviderID="https://service-provider2:2003/liberty-alliance/metadata"><LassoRemoteNameIdentifier><NameIdentifier NameQualifier="https://identity-provider:2003/liberty-alliance/metadata" Format="federated">222222222222222222222</NameIdentifier></LassoRemoteNameIdentifier></LassoIdentity>""" diff --git a/python/protocols/py_logout_request.c b/python/protocols/py_logout_request.c index ee4a75bf..803a3346 100644 --- a/python/protocols/py_logout_request.c +++ b/python/protocols/py_logout_request.c @@ -63,18 +63,18 @@ PyObject *logout_request_new(PyObject *self, PyObject *args) { } PyObject *logout_request_new_from_export(PyObject *self, PyObject *args) { - gchar *buffer; - lassoNodeExportTypes export_type; - LassoNode *request; + gchar *buffer; + gint type; + LassoNode *request; if (CheckArgs(args, "SS:logout_request_new_from_export")) { if(!PyArg_ParseTuple(args, (char *) "ss:logout_request_new_from_export", - &buffer, &export_type)) + &buffer, &type)) return NULL; } else return NULL; - request = lasso_logout_request_new_from_export(buffer, export_type); + request = lasso_logout_request_new_from_export(buffer, type); return (LassoLogoutRequest_wrap(LASSO_LOGOUT_REQUEST(request))); } |