summaryrefslogtreecommitdiffstats
path: root/lasso/xml
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-12-24 10:25:42 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-12-24 10:25:42 +0000
commit0a3b4e3a625fdab8fd5bec59d550b67b1647656f (patch)
tree81d3fbc0a85817385e828451489db7cb0881dc90 /lasso/xml
parentb932a345d21cef3699d2a48ece87da938175e5c5 (diff)
downloadlasso-0a3b4e3a625fdab8fd5bec59d550b67b1647656f.tar.gz
lasso-0a3b4e3a625fdab8fd5bec59d550b67b1647656f.tar.xz
lasso-0a3b4e3a625fdab8fd5bec59d550b67b1647656f.zip
errata2 adds a NotOnOrAfter attribute to LogoutRequests
Diffstat (limited to 'lasso/xml')
-rw-r--r--lasso/xml/lib_logout_request.c5
-rw-r--r--lasso/xml/lib_logout_request.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/lasso/xml/lib_logout_request.c b/lasso/xml/lib_logout_request.c
index afd12201..f8de8826 100644
--- a/lasso/xml/lib_logout_request.c
+++ b/lasso/xml/lib_logout_request.c
@@ -37,10 +37,11 @@
* <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
* <xs:element ref="ProviderID"/>
* <xs:element ref="saml:NameIdentifier"/>
- * <xs:element name="SessionIndex" type="xs:string" minOccurs="0"/>
+ * <xs:element name="SessionIndex" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
* <xs:element ref="RelayState" minOccurs="0"/>
* </xs:sequence>
* <xs:attribute ref="consent" use="optional"/>
+ * <xs:attribute name="NotOnOrAfter" type="xs:dateTime" use="optional"/>
* </xs:extension>
* </xs:complexContent>
* </xs:complexType>
@@ -67,6 +68,8 @@ static struct XmlSnippet schema_snippets[] = {
{ "SessionIndex", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoLibLogoutRequest, SessionIndex) },
{ "RelayState", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoLibLogoutRequest, RelayState) },
{ "consent", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoLibLogoutRequest, consent) },
+ { "NotOnOrAfter", SNIPPET_ATTRIBUTE,
+ G_STRUCT_OFFSET(LassoLibLogoutRequest, NotOnOrAfter) },
{ NULL, 0, 0}
};
diff --git a/lasso/xml/lib_logout_request.h b/lasso/xml/lib_logout_request.h
index 93bda637..78f5e704 100644
--- a/lasso/xml/lib_logout_request.h
+++ b/lasso/xml/lib_logout_request.h
@@ -61,6 +61,7 @@ struct _LassoLibLogoutRequest {
char *SessionIndex;
char *RelayState;
char *consent;
+ char *NotOnOrAfter;
};
struct _LassoLibLogoutRequestClass {