summaryrefslogtreecommitdiffstats
path: root/lasso/xml/saml-2.0/saml2_subject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/xml/saml-2.0/saml2_subject.c')
-rw-r--r--lasso/xml/saml-2.0/saml2_subject.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lasso/xml/saml-2.0/saml2_subject.c b/lasso/xml/saml-2.0/saml2_subject.c
index f9d865f..9bba80d 100644
--- a/lasso/xml/saml-2.0/saml2_subject.c
+++ b/lasso/xml/saml-2.0/saml2_subject.c
@@ -54,13 +54,15 @@
static struct XmlSnippet schema_snippets[] = {
- { "BaseID", SNIPPET_NODE,
+ { "BaseID", SNIPPET_NODE | SNIPPET_JUMP_ON_MATCH | SNIPPET_JUMP_3,
G_STRUCT_OFFSET(LassoSaml2Subject, BaseID), NULL, NULL, NULL},
- { "NameID", SNIPPET_NODE,
+ { "NameID", SNIPPET_NODE | SNIPPET_JUMP_ON_MATCH | SNIPPET_JUMP_2,
G_STRUCT_OFFSET(LassoSaml2Subject, NameID), NULL, NULL, NULL},
- { "EncryptedID", SNIPPET_NODE,
+ { "EncryptedID", SNIPPET_NODE | SNIPPET_JUMP_ON_MISS | SNIPPET_JUMP_2,
G_STRUCT_OFFSET(LassoSaml2Subject, EncryptedID),
"LassoSaml2EncryptedElement", NULL, NULL},
+ { "SubjectConfirmation", SNIPPET_NODE | SNIPPET_OPTIONAL | SNIPPET_JUMP_ON_MATCH | SNIPPET_JUMP_2,
+ G_STRUCT_OFFSET(LassoSaml2Subject, SubjectConfirmation), NULL, NULL, NULL},
{ "SubjectConfirmation", SNIPPET_NODE,
G_STRUCT_OFFSET(LassoSaml2Subject, SubjectConfirmation), NULL, NULL, NULL},
{NULL, 0, 0, NULL, NULL, NULL}