diff options
| author | Damien Laniel <dlaniel@entrouvert.com> | 2007-05-09 16:31:03 +0000 |
|---|---|---|
| committer | Damien Laniel <dlaniel@entrouvert.com> | 2007-05-09 16:31:03 +0000 |
| commit | f48ab7d7e164fcdecd56445baa1a3c1993e1f934 (patch) | |
| tree | d20411a596ff1ae4826c6218a2cccf03c8b1b86f | |
| parent | 386c12bcc4166f933e4a9512c832ee0d96afc0d2 (diff) | |
| download | lasso-f48ab7d7e164fcdecd56445baa1a3c1993e1f934.tar.gz lasso-f48ab7d7e164fcdecd56445baa1a3c1993e1f934.tar.xz lasso-f48ab7d7e164fcdecd56445baa1a3c1993e1f934.zip | |
filled msgUrl in initMetadataAssociationAdd
| -rw-r--r-- | lasso/id-wsf-2.0/discovery.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c index 07467352..e83680b8 100644 --- a/lasso/id-wsf-2.0/discovery.c +++ b/lasso/id-wsf-2.0/discovery.c @@ -217,6 +217,7 @@ lasso_idwsf2_discovery_init_metadata_association_add(LassoIdWsf2Discovery *disco LassoSoapEnvelope *envelope; LassoSaml2Assertion *assertion; LassoWsse200401Security *wsse_security; + LassoWsAddrEndpointReference *epr; g_return_val_if_fail(LASSO_IS_IDWSF2_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); @@ -240,8 +241,10 @@ lasso_idwsf2_discovery_init_metadata_association_add(LassoIdWsf2Discovery *disco envelope->Header->Other = g_list_append(envelope->Header->Other, wsse_security); } - /* FIXME : Get the url of the disco service where we must send the soap request */ - /* LASSO_WSF2_PROFILE(discovery)->msg_url = g_strdup(disco_provider_id); */ + epr = lasso_session_get_endpoint_reference(session, LASSO_IDWSF2_DISCO_HREF); + if (epr != NULL) { + profile->msg_url = g_strdup(epr->Address->content); + } return 0; } |
