summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2005-05-02 09:13:40 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2005-05-02 09:13:40 +0000
commit2158bd14655da201e712914614dbcdd8469155e9 (patch)
tree6ec6ec387e09d24249e43d49d88b2100fd3f2eb7
parentbb53afd2fa44358a36b06eb0fae5914a6bd7bb2d (diff)
downloadlasso-2158bd14655da201e712914614dbcdd8469155e9.tar.gz
lasso-2158bd14655da201e712914614dbcdd8469155e9.tar.xz
lasso-2158bd14655da201e712914614dbcdd8469155e9.zip
Added access to saml:Assertion in saml:Advice element.
-rw-r--r--swig/Lasso.i11
1 files changed, 10 insertions, 1 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index dfb51eef..90b10939 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -1624,7 +1624,11 @@ typedef struct {
%extend LassoSamlAdvice {
/* Attributes */
- /* LassoSamlAssertion *Assertion; FIXME: unbounded */
+#ifndef SWIGPHP4
+ %rename(assertion) Assertion;
+#endif
+ %newobject Assertion_get;
+ LassoSamlAssertion *Assertion;
%newobject assertionIdReference_get;
LassoStringList *assertionIdReference;
@@ -1644,6 +1648,11 @@ typedef struct {
%{
/* Attributes implementations */
+/* Assertion */
+#define LassoSamlAdvice_get_Assertion(self) get_node((self)->Assertion)
+#define LassoSamlAdvice_Assertion_get(self) get_node((self)->Assertion)
+#define LassoSamlAdvice_set_Assertion(self, value) set_node((gpointer *) &(self)->Assertion, (value))
+#define LassoSamlAdvice_Assertion_set(self, value) set_node((gpointer *) &(self)->Assertion, (value))
/* assertionIdReference */
#define LassoSamlAdvice_get_assertionIdReference(self) get_string_list((self)->AssertionIDReference)