summaryrefslogtreecommitdiffstats
path: root/python/xml/py_lib_authn_request.c
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-05-03 09:38:44 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-05-03 09:38:44 +0000
commitd0c8a32a38b5ad126350e283de27e11d57655eb4 (patch)
treea30d0f3e9c6c4b34449620e11bfc8ab91adec699 /python/xml/py_lib_authn_request.c
parent464e5d2777f7f5441f62fba3912ffb8cda74d37f (diff)
downloadlasso-d0c8a32a38b5ad126350e283de27e11d57655eb4.tar.gz
lasso-d0c8a32a38b5ad126350e283de27e11d57655eb4.tar.xz
lasso-d0c8a32a38b5ad126350e283de27e11d57655eb4.zip
Methods set_relayState() and set_nameIDPolicy() added in LibAuthnRequest class
Diffstat (limited to 'python/xml/py_lib_authn_request.c')
-rw-r--r--python/xml/py_lib_authn_request.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/python/xml/py_lib_authn_request.c b/python/xml/py_lib_authn_request.c
index 1b1d2185..2aef05bf 100644
--- a/python/xml/py_lib_authn_request.c
+++ b/python/xml/py_lib_authn_request.c
@@ -85,6 +85,24 @@ PyObject *lib_authn_request_set_isPassive(PyObject *self, PyObject *args) {
return (Py_None);
}
+PyObject *lib_authn_request_set_nameIDPolicy(PyObject *self, PyObject *args) {
+ PyObject *node_obj;
+ const xmlChar *nameIDPolicy;
+
+ if (CheckArgs(args, "OS:lib_authn_request_set_nameIDPolicy")) {
+ if(!PyArg_ParseTuple(args, (char *) "Os:lib_authn_request_set_nameIDPolicy",
+ &node_obj, &nameIDPolicy))
+ return NULL;
+ }
+ else return NULL;
+
+ lasso_lib_authn_request_set_nameIDPolicy(LassoLibAuthnRequest_get(node_obj),
+ nameIDPolicy);
+
+ Py_INCREF(Py_None);
+ return (Py_None);
+}
+
PyObject *lib_authn_request_set_protocolProfile(PyObject *self, PyObject *args) {
PyObject *node_obj;
const xmlChar *protocolProfile;
@@ -102,3 +120,21 @@ PyObject *lib_authn_request_set_protocolProfile(PyObject *self, PyObject *args)
Py_INCREF(Py_None);
return (Py_None);
}
+
+PyObject *lib_authn_request_set_relayState(PyObject *self, PyObject *args) {
+ PyObject *node_obj;
+ const xmlChar *relayState;
+
+ if (CheckArgs(args, "OS:lib_authn_request_set_relayState")) {
+ if(!PyArg_ParseTuple(args, (char *) "Os:lib_authn_request_set_relayState",
+ &node_obj, &relayState))
+ return NULL;
+ }
+ else return NULL;
+
+ lasso_lib_authn_request_set_relayState(LassoLibAuthnRequest_get(node_obj),
+ relayState);
+
+ Py_INCREF(Py_None);
+ return (Py_None);
+}