~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to lasso/xml/saml-2.0/samlp2_logout_request.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: samlp2_logout_request.c,v 1.2 2005/11/21 18:51:52 fpeters Exp $ 
 
1
/* $Id: samlp2_logout_request.c,v 1.4 2006/12/28 14:44:56 fpeters Exp $ 
2
2
 *
3
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
4
4
 *
76
76
        char *ret, *deflated_message;
77
77
 
78
78
        deflated_message = lasso_node_build_deflated_query(node);
 
79
        if (deflated_message == NULL) {
 
80
                return NULL;
 
81
        }
79
82
        ret = g_strdup_printf("SAMLRequest=%s", deflated_message);
80
83
        /* XXX: must support RelayState (which profiles?) */
81
84
        g_free(deflated_message);
88
91
{
89
92
        gboolean rc;
90
93
        char *relay_state = NULL;
 
94
        LassoSamlp2LogoutRequest *request = LASSO_SAMLP2_LOGOUT_REQUEST(node);
 
95
 
91
96
        rc = lasso_node_init_from_saml2_query_fields(node, query_fields, &relay_state);
92
97
        if (rc && relay_state != NULL) {
93
 
                /* XXX: support RelayState? */
 
98
                request->relayState = relay_state;
94
99
        }
95
100
        return rc;
96
101
}
109
114
        node->SessionIndex = NULL;
110
115
        node->Reason = NULL;
111
116
        node->NotOnOrAfter = NULL;
 
117
        node->relayState = NULL;
112
118
}
113
119
 
114
120
static void