diff --git a/docs/reference/lasso/lasso-sections.txt b/docs/reference/lasso/lasso-sections.txt index 7aa8647f..ec9e5723 100644 --- a/docs/reference/lasso/lasso-sections.txt +++ b/docs/reference/lasso/lasso-sections.txt @@ -473,7 +473,6 @@ LASSO_DISCOVERY_GET_CLASS LassoSaSASLRequest LassoSaSASLRequest lasso_sa_sasl_request_new -lasso_sa_sasl_request_new_from_message LASSO_SA_SASL_REQUEST LASSO_IS_SA_SASL_REQUEST @@ -913,7 +912,6 @@ LASSO_DS_PREFIX LassoDiscoModify LassoDiscoModify lasso_disco_modify_new -lasso_disco_modify_new_from_message LASSO_DISCO_MODIFY LASSO_IS_DISCO_MODIFY @@ -1064,9 +1062,6 @@ LASSO_DISCO_DESCRIPTION_GET_CLASS LassoSaSASLResponse LassoSaSASLResponse lasso_sa_sasl_response_new -lasso_sa_sasl_response_new_from_message -lasso_sa_sasl_response_add_credentials -lasso_sa_sasl_response_add_resource_offering LASSO_SA_SASL_RESPONSE LASSO_IS_SA_SASL_RESPONSE @@ -1375,7 +1370,6 @@ LASSO_LIB_SUBJECT_GET_CLASS LassoDiscoAuthorizeRequester LassoDiscoAuthorizeRequester lasso_disco_authorize_requester_new -lasso_disco_authorize_requester_new_from_message LASSO_DISCO_AUTHORIZE_REQUESTER LASSO_IS_DISCO_AUTHORIZE_REQUESTER @@ -1451,7 +1445,6 @@ LASSO_SAML_AUTHORITY_BINDING_GET_CLASS LassoDiscoSendSingleLogout LassoDiscoSendSingleLogout lasso_disco_send_single_logout_new -lasso_disco_send_single_logout_new_from_message LASSO_DISCO_SEND_SINGLE_LOGOUT LASSO_IS_DISCO_SEND_SINGLE_LOGOUT @@ -1513,7 +1506,6 @@ LASSO_IS_IS_INTERACTION_RESPONSE LassoIsInteractionResponse LassoIsInteractionResponse lasso_is_interaction_response_new -lasso_is_interaction_response_new_from_message LASSO_IS_INTERACTION_RESPONSE LASSO_TYPE_IS_INTERACTION_RESPONSE @@ -1543,7 +1535,6 @@ LASSO_DST_QUERY_ITEM_GET_CLASS LassoDiscoQuery LassoDiscoQuery lasso_disco_query_new -lasso_disco_query_new_from_message LASSO_DISCO_QUERY LASSO_IS_DISCO_QUERY @@ -1575,7 +1566,6 @@ LASSO_LIB_REGISTER_NAME_IDENTIFIER_RESPONSE_GET_CLASS LassoSoapBindingUsageDirective LassoSoapBindingUsageDirective lasso_soap_binding_usage_directive_new -lasso_soap_binding_usage_directive_new_from_message LASSO_SOAP_BINDING_USAGE_DIRECTIVE LASSO_IS_SOAP_BINDING_USAGE_DIRECTIVE @@ -1591,7 +1581,6 @@ LASSO_SOAP_BINDING_USAGE_DIRECTIVE_GET_CLASS LassoSaTransform LassoSaTransform lasso_sa_transform_new -lasso_sa_transform_new_from_message LASSO_SA_TRANSFORM LASSO_IS_SA_TRANSFORM @@ -1712,7 +1701,6 @@ LASSO_DISCO_RESOURCE_OFFERING_GET_CLASS LassoSoapBindingCorrelation LassoSoapBindingCorrelation lasso_soap_binding_correlation_new -lasso_soap_binding_correlation_new_from_message LASSO_SOAP_BINDING_CORRELATION LASSO_IS_SOAP_BINDING_CORRELATION @@ -1744,7 +1732,6 @@ LASSO_DISCO_SERVICE_INSTANCE_GET_CLASS LassoSaParameter LassoSaParameter lasso_sa_parameter_new -lasso_sa_parameter_new_from_message LASSO_SA_PARAMETER LASSO_IS_SA_PARAMETER @@ -1806,7 +1793,6 @@ LASSO_IS_USER_INTERACTION_GET_CLASS LassoDiscoQueryResponse LassoDiscoQueryResponse lasso_disco_query_response_new -lasso_disco_query_response_new_from_message LASSO_DISCO_QUERY_RESPONSE LASSO_IS_DISCO_QUERY_RESPONSE @@ -1886,7 +1872,6 @@ LASSO_MISC_TEXT_NODE_GET_CLASS LassoDiscoGenerateBearerToken LassoDiscoGenerateBearerToken lasso_disco_generate_bearer_token_new -lasso_disco_generate_bearer_token_new_from_message LASSO_DISCO_GENERATE_BEARER_TOKEN LASSO_IS_DISCO_GENERATE_BEARER_TOKEN @@ -1932,7 +1917,6 @@ LASSO_SAMLP_STATUS_GET_CLASS LassoDiscoModifyResponse LassoDiscoModifyResponse lasso_disco_modify_response_new -lasso_disco_modify_response_new_from_message LASSO_DISCO_MODIFY_RESPONSE LASSO_IS_DISCO_MODIFY_RESPONSE @@ -1948,7 +1932,6 @@ LASSO_DISCO_MODIFY_RESPONSE_GET_CLASS LassoSoapBindingProvider LassoSoapBindingProvider lasso_soap_binding_provider_new -lasso_soap_binding_provider_new_from_message LASSO_SOAP_BINDING_PROVIDER LASSO_IS_SOAP_BINDING_PROVIDER @@ -1978,7 +1961,6 @@ LASSO_SAML_CONDITION_ABSTRACT_GET_CLASS LassoSoapBindingConsent LassoSoapBindingConsent lasso_soap_binding_consent_new -lasso_soap_binding_consent_new_from_message LASSO_SOAP_BINDING_CONSENT LASSO_IS_SOAP_BINDING_CONSENT @@ -2055,7 +2037,6 @@ LASSO_IS_INTERACTION_STATEMENT_GET_CLASS LassoSaPasswordTransforms LassoSaPasswordTransforms lasso_sa_password_transforms_new -lasso_sa_password_transforms_new_from_message LASSO_SA_PASSWORD_TRANSFORMS LASSO_IS_SA_PASSWORD_TRANSFORMS @@ -2101,8 +2082,6 @@ LASSO_DISCO_INSERT_ENTRY_GET_CLASS LassoSaCredentials LassoSaCredentials lasso_sa_credentials_new -lasso_sa_credentials_new_from_message -lasso_sa_credentials_add_assertion LASSO_SA_CREDENTIALS LASSO_IS_SA_CREDENTIALS @@ -2162,7 +2141,6 @@ LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_GET_CLASS LassoDiscoEncryptResourceID LassoDiscoEncryptResourceID lasso_disco_encrypt_resource_id_new -lasso_disco_encrypt_resource_id_new_from_message LASSO_DISCO_ENCRYPT_RESOURCE_ID LASSO_IS_DISCO_ENCRYPT_RESOURCE_ID @@ -2360,7 +2338,6 @@ LASSO_DISCO_CREDENTIALS_GET_CLASS LassoDiscoAuthenticateRequester LassoDiscoAuthenticateRequester lasso_disco_authenticate_requester_new -lasso_disco_authenticate_requester_new_from_message LASSO_DISCO_AUTHENTICATE_REQUESTER LASSO_IS_DISCO_AUTHENTICATE_REQUESTER @@ -2514,7 +2491,6 @@ LASSO_IS_IS_INTERACTION_REQUEST LassoIsInteractionRequest LassoIsInteractionRequest lasso_is_interaction_request_new -lasso_is_interaction_request_new_from_message LASSO_IS_INTERACTION_REQUEST LASSO_TYPE_IS_INTERACTION_REQUEST diff --git a/lasso/id-wsf/interaction_profile_service.c b/lasso/id-wsf/interaction_profile_service.c index 6c4ac2d8..c390de94 100644 --- a/lasso/id-wsf/interaction_profile_service.c +++ b/lasso/id-wsf/interaction_profile_service.c @@ -68,7 +68,8 @@ lasso_interaction_profile_service_process_request_msg(LassoInteractionProfileSer { LassoIsInteractionRequest *request; - request = lasso_is_interaction_request_new_from_message(msg); + request = lasso_is_interaction_request_new(); + lasso_node_init_from_message((LassoNode*)request, msg); LASSO_WSF_PROFILE(service)->request = LASSO_NODE(request); return 0; @@ -80,7 +81,8 @@ lasso_interaction_profile_service_process_response_msg(LassoInteractionProfileSe { LassoIsInteractionResponse *response; - response = lasso_is_interaction_response_new_from_message(msg); + response = lasso_is_interaction_response_new(); + lasso_node_init_from_message((LassoNode*)response, msg); LASSO_WSF_PROFILE(service)->response = LASSO_NODE(response); return 0; diff --git a/lasso/xml/disco_authenticate_requester.c b/lasso/xml/disco_authenticate_requester.c index 5c938863..bde9215e 100644 --- a/lasso/xml/disco_authenticate_requester.c +++ b/lasso/xml/disco_authenticate_requester.c @@ -100,16 +100,3 @@ lasso_disco_authenticate_requester_new() return node; } - -LassoDiscoAuthenticateRequester* -lasso_disco_authenticate_requester_new_from_message(const gchar *message) -{ - LassoDiscoAuthenticateRequester *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_authenticate_requester.h b/lasso/xml/disco_authenticate_requester.h index 58fb2b93..a913938e 100644 --- a/lasso/xml/disco_authenticate_requester.h +++ b/lasso/xml/disco_authenticate_requester.h @@ -63,9 +63,6 @@ LASSO_EXPORT GType lasso_disco_authenticate_requester_get_type(void); LASSO_EXPORT LassoDiscoAuthenticateRequester* lasso_disco_authenticate_requester_new(void); -LASSO_EXPORT LassoDiscoAuthenticateRequester* lasso_disco_authenticate_requester_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_authenticate_session_context.c b/lasso/xml/disco_authenticate_session_context.c index 72c2dadd..d71c0cd6 100644 --- a/lasso/xml/disco_authenticate_session_context.c +++ b/lasso/xml/disco_authenticate_session_context.c @@ -100,16 +100,3 @@ lasso_disco_authenticate_session_context_new() return node; } - -LassoDiscoAuthenticateSessionContext* -lasso_disco_authenticate_session_context_new_from_message(const gchar *message) -{ - LassoDiscoAuthenticateSessionContext *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_authenticate_session_context.h b/lasso/xml/disco_authenticate_session_context.h index 90518591..219c366b 100644 --- a/lasso/xml/disco_authenticate_session_context.h +++ b/lasso/xml/disco_authenticate_session_context.h @@ -66,9 +66,6 @@ LASSO_EXPORT GType lasso_disco_authenticate_session_context_get_type(void); LASSO_EXPORT LassoDiscoAuthenticateSessionContext* \ lasso_disco_authenticate_session_context_new(void); -LASSO_EXPORT LassoDiscoAuthenticateSessionContext* \ - lasso_disco_authenticate_session_context_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_authorize_requester.c b/lasso/xml/disco_authorize_requester.c index 9876f9cf..ef1d05ad 100644 --- a/lasso/xml/disco_authorize_requester.c +++ b/lasso/xml/disco_authorize_requester.c @@ -100,16 +100,3 @@ lasso_disco_authorize_requester_new() return node; } - -LassoDiscoAuthorizeRequester* -lasso_disco_authorize_requester_new_from_message(const gchar *message) -{ - LassoDiscoAuthorizeRequester *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_authorize_requester.h b/lasso/xml/disco_authorize_requester.h index c03d1174..0439c056 100644 --- a/lasso/xml/disco_authorize_requester.h +++ b/lasso/xml/disco_authorize_requester.h @@ -63,9 +63,6 @@ LASSO_EXPORT GType lasso_disco_authorize_requester_get_type(void); LASSO_EXPORT LassoDiscoAuthorizeRequester* lasso_disco_authorize_requester_new(void); -LASSO_EXPORT LassoDiscoAuthorizeRequester* lasso_disco_authorize_requester_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_encrypt_resource_id.c b/lasso/xml/disco_encrypt_resource_id.c index 7bd178cb..5e06c687 100644 --- a/lasso/xml/disco_encrypt_resource_id.c +++ b/lasso/xml/disco_encrypt_resource_id.c @@ -100,16 +100,3 @@ lasso_disco_encrypt_resource_id_new() return node; } - -LassoDiscoEncryptResourceID* -lasso_disco_encrypt_resource_id_new_from_message(const gchar *message) -{ - LassoDiscoEncryptResourceID *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_encrypt_resource_id.h b/lasso/xml/disco_encrypt_resource_id.h index 047d4a40..571af40d 100644 --- a/lasso/xml/disco_encrypt_resource_id.h +++ b/lasso/xml/disco_encrypt_resource_id.h @@ -63,9 +63,6 @@ LASSO_EXPORT GType lasso_disco_encrypt_resource_id_get_type(void); LASSO_EXPORT LassoDiscoEncryptResourceID* lasso_disco_encrypt_resource_id_new(void); -LASSO_EXPORT LassoDiscoEncryptResourceID* lasso_disco_encrypt_resource_id_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_generate_bearer_token.c b/lasso/xml/disco_generate_bearer_token.c index dcae8161..927ede51 100644 --- a/lasso/xml/disco_generate_bearer_token.c +++ b/lasso/xml/disco_generate_bearer_token.c @@ -100,16 +100,3 @@ lasso_disco_generate_bearer_token_new() return node; } - -LassoDiscoGenerateBearerToken* -lasso_disco_generate_bearer_token_new_from_message(const gchar *message) -{ - LassoDiscoGenerateBearerToken *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_generate_bearer_token.h b/lasso/xml/disco_generate_bearer_token.h index 07ec37f2..3fbd39c1 100644 --- a/lasso/xml/disco_generate_bearer_token.h +++ b/lasso/xml/disco_generate_bearer_token.h @@ -63,9 +63,6 @@ LASSO_EXPORT GType lasso_disco_generate_bearer_token_get_type(void); LASSO_EXPORT LassoDiscoGenerateBearerToken* lasso_disco_generate_bearer_token_new(void); -LASSO_EXPORT LassoDiscoGenerateBearerToken* lasso_disco_generate_bearer_token_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_modify.c b/lasso/xml/disco_modify.c index 99937f46..7951ec19 100644 --- a/lasso/xml/disco_modify.c +++ b/lasso/xml/disco_modify.c @@ -117,16 +117,3 @@ lasso_disco_modify_new() return node; } - -LassoDiscoModify* -lasso_disco_modify_new_from_message(const gchar *message) -{ - LassoDiscoModify *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_MODIFY, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_modify.h b/lasso/xml/disco_modify.h index 70022c41..9121ef54 100644 --- a/lasso/xml/disco_modify.h +++ b/lasso/xml/disco_modify.h @@ -67,8 +67,6 @@ LASSO_EXPORT GType lasso_disco_modify_get_type (void); LASSO_EXPORT LassoDiscoModify* lasso_disco_modify_new (void); -LASSO_EXPORT LassoDiscoModify* lasso_disco_modify_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_modify_response.c b/lasso/xml/disco_modify_response.c index 5c111f48..80c140eb 100644 --- a/lasso/xml/disco_modify_response.c +++ b/lasso/xml/disco_modify_response.c @@ -154,16 +154,3 @@ lasso_disco_modify_response_new(LassoUtilityStatus *status) return response; } - -LassoDiscoModifyResponse* -lasso_disco_modify_response_new_from_message(const gchar *message) -{ - LassoDiscoModifyResponse *response; - - g_return_val_if_fail(message != NULL, NULL); - - response = g_object_new(LASSO_TYPE_DISCO_MODIFY_RESPONSE, NULL); - lasso_node_init_from_message(LASSO_NODE(response), message); - - return response; -} diff --git a/lasso/xml/disco_modify_response.h b/lasso/xml/disco_modify_response.h index c45d5c8e..e2decc52 100644 --- a/lasso/xml/disco_modify_response.h +++ b/lasso/xml/disco_modify_response.h @@ -76,9 +76,6 @@ LASSO_EXPORT GType lasso_disco_modify_response_get_type (void); LASSO_EXPORT LassoDiscoModifyResponse* lasso_disco_modify_response_new(LassoUtilityStatus *status); -LASSO_EXPORT LassoDiscoModifyResponse* lasso_disco_modify_response_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_query.c b/lasso/xml/disco_query.c index 1900e000..303bd39b 100644 --- a/lasso/xml/disco_query.c +++ b/lasso/xml/disco_query.c @@ -123,16 +123,3 @@ lasso_disco_query_new() return node; } - -LassoDiscoQuery* -lasso_disco_query_new_from_message(const gchar *message) -{ - LassoDiscoQuery *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_QUERY, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_query.h b/lasso/xml/disco_query.h index 90006eac..a56732e5 100644 --- a/lasso/xml/disco_query.h +++ b/lasso/xml/disco_query.h @@ -65,8 +65,6 @@ LASSO_EXPORT GType lasso_disco_query_get_type(void); LASSO_EXPORT LassoDiscoQuery* lasso_disco_query_new(void); -LASSO_EXPORT LassoDiscoQuery* lasso_disco_query_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_query_response.c b/lasso/xml/disco_query_response.c index 4110e0bc..945c7f5c 100644 --- a/lasso/xml/disco_query_response.c +++ b/lasso/xml/disco_query_response.c @@ -150,16 +150,3 @@ lasso_disco_query_response_new(LassoUtilityStatus *status) return node; } - -LassoDiscoQueryResponse* -lasso_disco_query_response_new_from_message(const gchar *message) -{ - LassoDiscoQueryResponse *response; - - g_return_val_if_fail(message != NULL, NULL); - - response = g_object_new(LASSO_TYPE_DISCO_QUERY_RESPONSE, NULL); - lasso_node_init_from_message(LASSO_NODE(response), message); - - return response; -} diff --git a/lasso/xml/disco_query_response.h b/lasso/xml/disco_query_response.h index b9d655f9..669c11f4 100644 --- a/lasso/xml/disco_query_response.h +++ b/lasso/xml/disco_query_response.h @@ -67,9 +67,6 @@ LASSO_EXPORT GType lasso_disco_query_response_get_type(void); LASSO_EXPORT LassoDiscoQueryResponse* lasso_disco_query_response_new(LassoUtilityStatus *status); -LASSO_EXPORT LassoDiscoQueryResponse* lasso_disco_query_response_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/disco_send_single_logout.c b/lasso/xml/disco_send_single_logout.c index 8dba2858..3e9955f2 100644 --- a/lasso/xml/disco_send_single_logout.c +++ b/lasso/xml/disco_send_single_logout.c @@ -102,16 +102,3 @@ lasso_disco_send_single_logout_new() return node; } - -LassoDiscoSendSingleLogout* -lasso_disco_send_single_logout_new_from_message(const gchar *message) -{ - LassoDiscoSendSingleLogout *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/disco_send_single_logout.h b/lasso/xml/disco_send_single_logout.h index 1d415ade..dbb16c42 100644 --- a/lasso/xml/disco_send_single_logout.h +++ b/lasso/xml/disco_send_single_logout.h @@ -63,9 +63,6 @@ LASSO_EXPORT GType lasso_disco_send_single_logout_get_type(void); LASSO_EXPORT LassoDiscoSendSingleLogout* lasso_disco_send_single_logout_new(void); -LASSO_EXPORT LassoDiscoSendSingleLogout* lasso_disco_send_single_logout_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/is_interaction_request.c b/lasso/xml/is_interaction_request.c index cfc08a61..8b3a9079 100644 --- a/lasso/xml/is_interaction_request.c +++ b/lasso/xml/is_interaction_request.c @@ -120,14 +120,3 @@ lasso_is_interaction_request_new() return node; } - -LassoIsInteractionRequest* -lasso_is_interaction_request_new_from_message(const char *msg) -{ - LassoIsInteractionRequest *node; - - node = g_object_new(LASSO_TYPE_IS_INTERACTION_REQUEST, NULL); - lasso_node_init_from_message(LASSO_NODE(node), msg); - - return node; -} diff --git a/lasso/xml/is_interaction_request.h b/lasso/xml/is_interaction_request.h index d0a991c1..0cd06a23 100644 --- a/lasso/xml/is_interaction_request.h +++ b/lasso/xml/is_interaction_request.h @@ -75,9 +75,6 @@ LASSO_EXPORT GType lasso_is_interaction_request_get_type(void); LASSO_EXPORT LassoIsInteractionRequest* lasso_is_interaction_request_new(void); -LASSO_EXPORT LassoIsInteractionRequest* lasso_is_interaction_request_new_from_message( - const char *msg); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/is_interaction_response.c b/lasso/xml/is_interaction_response.c index 3808f8d1..8b176b36 100644 --- a/lasso/xml/is_interaction_response.c +++ b/lasso/xml/is_interaction_response.c @@ -113,14 +113,3 @@ lasso_is_interaction_response_new(LassoUtilityStatus *status) return node; } - -LassoIsInteractionResponse* -lasso_is_interaction_response_new_from_message(const gchar *message) -{ - LassoIsInteractionResponse *node; - - node = g_object_new(LASSO_TYPE_IS_INTERACTION_RESPONSE, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/is_interaction_response.h b/lasso/xml/is_interaction_response.h index 1f21574b..e428c68d 100644 --- a/lasso/xml/is_interaction_response.h +++ b/lasso/xml/is_interaction_response.h @@ -65,9 +65,6 @@ LASSO_EXPORT GType lasso_is_interaction_response_get_type(void); LASSO_EXPORT LassoIsInteractionResponse* lasso_is_interaction_response_new(); -LASSO_EXPORT LassoIsInteractionResponse* lasso_is_interaction_response_new_from_message( - const char *msg); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_credentials.c b/lasso/xml/sa_credentials.c index e3151746..13a468b3 100644 --- a/lasso/xml/sa_credentials.c +++ b/lasso/xml/sa_credentials.c @@ -101,31 +101,3 @@ lasso_sa_credentials_new() return node; } - -LassoSaCredentials* -lasso_sa_credentials_new_from_message(const gchar *message) -{ - LassoSaCredentials *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_CREDENTIALS, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} - -gint -lasso_sa_credentials_add_assertion(LassoSaCredentials *credentials, - LassoSamlAssertion *assertion) -{ - g_return_val_if_fail(LASSO_IS_SA_CREDENTIALS(credentials), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - g_return_val_if_fail(LASSO_IS_SAML_ASSERTION(assertion), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - - g_object_ref(assertion); - credentials->any = g_list_append(credentials->any, assertion); - - return 0; -} diff --git a/lasso/xml/sa_credentials.h b/lasso/xml/sa_credentials.h index 820d19c8..f9854fb8 100644 --- a/lasso/xml/sa_credentials.h +++ b/lasso/xml/sa_credentials.h @@ -61,11 +61,6 @@ LASSO_EXPORT GType lasso_sa_credentials_get_type(void); LASSO_EXPORT LassoSaCredentials* lasso_sa_credentials_new(); -LASSO_EXPORT LassoSaCredentials* lasso_sa_credentials_new_from_message(const gchar *message); - -LASSO_EXPORT gint lasso_sa_credentials_add_assertion(LassoSaCredentials *credentials, - LassoSamlAssertion *assertion); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_parameter.c b/lasso/xml/sa_parameter.c index 6b2edf76..27212073 100644 --- a/lasso/xml/sa_parameter.c +++ b/lasso/xml/sa_parameter.c @@ -110,16 +110,3 @@ lasso_sa_parameter_new(const char *content, const char *name) return node; } - -LassoSaParameter* -lasso_sa_parameter_new_from_message(const gchar *message) -{ - LassoSaParameter *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_PARAMETER, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/sa_parameter.h b/lasso/xml/sa_parameter.h index b9acf8d4..42623d9a 100644 --- a/lasso/xml/sa_parameter.h +++ b/lasso/xml/sa_parameter.h @@ -61,8 +61,6 @@ LASSO_EXPORT GType lasso_sa_parameter_get_type(void); LASSO_EXPORT LassoSaParameter* lasso_sa_parameter_new(); -LASSO_EXPORT LassoSaParameter* lasso_sa_parameter_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_password_transforms.c b/lasso/xml/sa_password_transforms.c index edd4cbaf..f9862ec4 100644 --- a/lasso/xml/sa_password_transforms.c +++ b/lasso/xml/sa_password_transforms.c @@ -122,16 +122,3 @@ lasso_sa_password_transforms_new() return node; } - -LassoSaPasswordTransforms* -lasso_sa_password_transforms_new_from_message(const gchar *message) -{ - LassoSaPasswordTransforms *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_PASSWORD_TRANSFORMS, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/sa_password_transforms.h b/lasso/xml/sa_password_transforms.h index 6c4229eb..9281a4de 100644 --- a/lasso/xml/sa_password_transforms.h +++ b/lasso/xml/sa_password_transforms.h @@ -62,9 +62,6 @@ LASSO_EXPORT GType lasso_sa_password_transforms_get_type(void); LASSO_EXPORT LassoSaPasswordTransforms* lasso_sa_password_transforms_new(); -LASSO_EXPORT LassoSaPasswordTransforms* lasso_sa_password_transforms_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_sasl_request.c b/lasso/xml/sa_sasl_request.c index 1c79c5b8..65b41a16 100644 --- a/lasso/xml/sa_sasl_request.c +++ b/lasso/xml/sa_sasl_request.c @@ -127,16 +127,3 @@ lasso_sa_sasl_request_new(const gchar *mechanism) return node; } - -LassoSaSASLRequest* -lasso_sa_sasl_request_new_from_message(const gchar *message) -{ - LassoSaSASLRequest *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_SASL_REQUEST, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/sa_sasl_request.h b/lasso/xml/sa_sasl_request.h index fc1c0de6..094aa501 100644 --- a/lasso/xml/sa_sasl_request.h +++ b/lasso/xml/sa_sasl_request.h @@ -67,8 +67,6 @@ LASSO_EXPORT GType lasso_sa_sasl_request_get_type(void); LASSO_EXPORT LassoSaSASLRequest* lasso_sa_sasl_request_new(const char *mechanism); -LASSO_EXPORT LassoSaSASLRequest* lasso_sa_sasl_request_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_sasl_response.c b/lasso/xml/sa_sasl_response.c index e9e00f73..64769935 100644 --- a/lasso/xml/sa_sasl_response.c +++ b/lasso/xml/sa_sasl_response.c @@ -164,46 +164,3 @@ lasso_sa_sasl_response_new(LassoUtilityStatus *status) return node; } - -LassoSaSASLResponse* -lasso_sa_sasl_response_new_from_message(const gchar *message) -{ - LassoSaSASLResponse *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_SASL_RESPONSE, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} - -gint -lasso_sa_sasl_response_add_credentials(LassoSaSASLResponse *response, - LassoSaCredentials *credentials) -{ - g_return_val_if_fail(LASSO_IS_SA_SASL_RESPONSE(response), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - g_return_val_if_fail(LASSO_IS_SA_CREDENTIALS(credentials), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - - g_object_ref(credentials); - response->Credentials = g_list_append(response->Credentials, credentials); - - return 0; -} - -gint -lasso_sa_sasl_response_add_resource_offering(LassoSaSASLResponse *response, - LassoDiscoResourceOffering *resourceOffering) -{ - g_return_val_if_fail(LASSO_IS_SA_SASL_RESPONSE(response), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(resourceOffering), - LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ); - - g_object_ref(resourceOffering); - response->ResourceOffering = g_list_append(response->ResourceOffering, resourceOffering); - - return 0; -} diff --git a/lasso/xml/sa_sasl_response.h b/lasso/xml/sa_sasl_response.h index 767ed687..a7c99ebe 100644 --- a/lasso/xml/sa_sasl_response.h +++ b/lasso/xml/sa_sasl_response.h @@ -73,15 +73,6 @@ LASSO_EXPORT GType lasso_sa_sasl_response_get_type(void); LASSO_EXPORT LassoSaSASLResponse* lasso_sa_sasl_response_new(LassoUtilityStatus *status); -LASSO_EXPORT LassoSaSASLResponse* lasso_sa_sasl_response_new_from_message(const gchar *message); - -LASSO_EXPORT gint lasso_sa_sasl_response_add_credentials(LassoSaSASLResponse *response, - LassoSaCredentials *credentials); - -LASSO_EXPORT gint lasso_sa_sasl_response_add_resource_offering( - LassoSaSASLResponse *response, - LassoDiscoResourceOffering *resourceOffering); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/sa_transform.c b/lasso/xml/sa_transform.c index 352fd250..1204166a 100644 --- a/lasso/xml/sa_transform.c +++ b/lasso/xml/sa_transform.c @@ -117,16 +117,3 @@ lasso_sa_transform_new(const char *name) return node; } - -LassoSaTransform* -lasso_sa_transform_new_from_message(const gchar *message) -{ - LassoSaTransform *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SA_TRANSFORM, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/sa_transform.h b/lasso/xml/sa_transform.h index 623f8c7e..c1b955e0 100644 --- a/lasso/xml/sa_transform.h +++ b/lasso/xml/sa_transform.h @@ -64,8 +64,6 @@ LASSO_EXPORT GType lasso_sa_transform_get_type(void); LASSO_EXPORT LassoSaTransform* lasso_sa_transform_new(); -LASSO_EXPORT LassoSaTransform* lasso_sa_transform_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_consent.c b/lasso/xml/soap_binding_consent.c index 69a57ba2..462762a2 100644 --- a/lasso/xml/soap_binding_consent.c +++ b/lasso/xml/soap_binding_consent.c @@ -113,16 +113,3 @@ lasso_soap_binding_consent_new(const gchar *uri) return node; } - -LassoSoapBindingConsent* -lasso_soap_binding_consent_new_from_message(const gchar *message) -{ - LassoSoapBindingConsent *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_CONSENT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_consent.h b/lasso/xml/soap_binding_consent.h index c6c8a026..90127b39 100644 --- a/lasso/xml/soap_binding_consent.h +++ b/lasso/xml/soap_binding_consent.h @@ -65,9 +65,6 @@ LASSO_EXPORT GType lasso_soap_binding_consent_get_type(void); LASSO_EXPORT LassoSoapBindingConsent* lasso_soap_binding_consent_new(const gchar *uri); -LASSO_EXPORT LassoSoapBindingConsent* lasso_soap_binding_consent_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_correlation.c b/lasso/xml/soap_binding_correlation.c index 8d4ba141..623abb7c 100644 --- a/lasso/xml/soap_binding_correlation.c +++ b/lasso/xml/soap_binding_correlation.c @@ -114,16 +114,3 @@ lasso_soap_binding_correlation_new(const gchar *messageId, const gchar *timestam return node; } - -LassoSoapBindingCorrelation* -lasso_soap_binding_correlation_new_from_message(const gchar *message) -{ - LassoSoapBindingCorrelation *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_CORRELATION, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_correlation.h b/lasso/xml/soap_binding_correlation.h index 63e94301..cba83f8c 100644 --- a/lasso/xml/soap_binding_correlation.h +++ b/lasso/xml/soap_binding_correlation.h @@ -68,9 +68,6 @@ LASSO_EXPORT LassoSoapBindingCorrelation* lasso_soap_binding_correlation_new( const gchar *messageId, const gchar *timestamp); -LASSO_EXPORT LassoSoapBindingCorrelation* lasso_soap_binding_correlation_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_ext_credential.c b/lasso/xml/soap_binding_ext_credential.c index 5ee0e356..c9981f39 100644 --- a/lasso/xml/soap_binding_ext_credential.c +++ b/lasso/xml/soap_binding_ext_credential.c @@ -111,16 +111,3 @@ lasso_soap_binding_ext_credential_new(LassoNode *any) return node; } - -LassoSoapBindingExtCredential* -lasso_soap_binding_ext_credential_new_from_message(const gchar *message) -{ - LassoSoapBindingExtCredential *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_ext_credential.h b/lasso/xml/soap_binding_ext_credential.h index 896a0861..e1b25268 100644 --- a/lasso/xml/soap_binding_ext_credential.h +++ b/lasso/xml/soap_binding_ext_credential.h @@ -71,9 +71,6 @@ LASSO_EXPORT GType lasso_soap_binding_ext_credential_get_type(void); LASSO_EXPORT LassoSoapBindingExtCredential* \ lasso_soap_binding_ext_credential_new(LassoNode *any); -LASSO_EXPORT LassoSoapBindingExtCredential* \ - lasso_soap_binding_ext_credential_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_ext_credentials_context.c b/lasso/xml/soap_binding_ext_credentials_context.c index 7ff24c37..ef101bb1 100644 --- a/lasso/xml/soap_binding_ext_credentials_context.c +++ b/lasso/xml/soap_binding_ext_credentials_context.c @@ -114,16 +114,3 @@ lasso_soap_binding_ext_credentials_context_new() return node; } - -LassoSoapBindingExtCredentialsContext* -lasso_soap_binding_ext_credentials_context_new_from_message(const gchar *message) -{ - LassoSoapBindingExtCredentialsContext *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_ext_credentials_context.h b/lasso/xml/soap_binding_ext_credentials_context.h index bc6216d7..8cbccc2d 100644 --- a/lasso/xml/soap_binding_ext_credentials_context.h +++ b/lasso/xml/soap_binding_ext_credentials_context.h @@ -75,9 +75,6 @@ LASSO_EXPORT GType lasso_soap_binding_ext_credentials_context_get_type(void); LASSO_EXPORT LassoSoapBindingExtCredentialsContext* \ lasso_soap_binding_ext_credentials_context_new(); -LASSO_EXPORT LassoSoapBindingExtCredentialsContext* \ - lasso_soap_binding_ext_credentials_context_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_ext_service_instance_update.c b/lasso/xml/soap_binding_ext_service_instance_update.c index 1eb5870a..11cd085e 100644 --- a/lasso/xml/soap_binding_ext_service_instance_update.c +++ b/lasso/xml/soap_binding_ext_service_instance_update.c @@ -123,16 +123,3 @@ lasso_soap_binding_ext_service_instance_update_new() return node; } - -LassoSoapBindingExtServiceInstanceUpdate* -lasso_soap_binding_ext_service_instance_update_new_from_message(const gchar *message) -{ - LassoSoapBindingExtServiceInstanceUpdate *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_ext_service_instance_update.h b/lasso/xml/soap_binding_ext_service_instance_update.h index 8f03daad..3eb88716 100644 --- a/lasso/xml/soap_binding_ext_service_instance_update.h +++ b/lasso/xml/soap_binding_ext_service_instance_update.h @@ -77,9 +77,6 @@ LASSO_EXPORT GType lasso_soap_binding_ext_service_instance_update_get_type(void) LASSO_EXPORT LassoSoapBindingExtServiceInstanceUpdate* \ lasso_soap_binding_ext_service_instance_update_new(); -LASSO_EXPORT LassoSoapBindingExtServiceInstanceUpdate* \ - lasso_soap_binding_ext_service_instance_update_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_ext_timeout.c b/lasso/xml/soap_binding_ext_timeout.c index 9881e67d..f320d520 100644 --- a/lasso/xml/soap_binding_ext_timeout.c +++ b/lasso/xml/soap_binding_ext_timeout.c @@ -110,16 +110,3 @@ lasso_soap_binding_ext_timeout_new(gint maxProcessingTime) return node; } - -LassoSoapBindingExtTimeout* -lasso_soap_binding_ext_timeout_new_from_message(const gchar *message) -{ - LassoSoapBindingExtTimeout *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_ext_timeout.h b/lasso/xml/soap_binding_ext_timeout.h index f7749672..3020f8c1 100644 --- a/lasso/xml/soap_binding_ext_timeout.h +++ b/lasso/xml/soap_binding_ext_timeout.h @@ -65,9 +65,6 @@ LASSO_EXPORT GType lasso_soap_binding_ext_timeout_get_type(void); LASSO_EXPORT LassoSoapBindingExtTimeout* lasso_soap_binding_ext_timeout_new(gint maxProcessingTime); -LASSO_EXPORT LassoSoapBindingExtTimeout* \ - lasso_soap_binding_ext_timeout_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_processing_context.c b/lasso/xml/soap_binding_processing_context.c index 05e9139a..58563c87 100644 --- a/lasso/xml/soap_binding_processing_context.c +++ b/lasso/xml/soap_binding_processing_context.c @@ -110,16 +110,3 @@ lasso_soap_binding_processing_context_new() return node; } - -LassoSoapBindingProcessingContext* -lasso_soap_binding_processing_context_new_from_message(const gchar *message) -{ - LassoSoapBindingProcessingContext *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_processing_context.h b/lasso/xml/soap_binding_processing_context.h index 9a2c70e0..b4250a98 100644 --- a/lasso/xml/soap_binding_processing_context.h +++ b/lasso/xml/soap_binding_processing_context.h @@ -65,9 +65,6 @@ LASSO_EXPORT GType lasso_soap_binding_processing_context_get_type(void); LASSO_EXPORT LassoSoapBindingProcessingContext* lasso_soap_binding_processing_context_new(); -LASSO_EXPORT LassoSoapBindingProcessingContext* \ - lasso_soap_binding_processing_context_new_from_message(const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_provider.c b/lasso/xml/soap_binding_provider.c index dd4368e0..91344308 100644 --- a/lasso/xml/soap_binding_provider.c +++ b/lasso/xml/soap_binding_provider.c @@ -112,16 +112,3 @@ lasso_soap_binding_provider_new(const gchar *providerID) return node; } - -LassoSoapBindingProvider* -lasso_soap_binding_provider_new_from_message(const gchar *message) -{ - LassoSoapBindingProvider *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_PROVIDER, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_provider.h b/lasso/xml/soap_binding_provider.h index f1342f1d..397086cd 100644 --- a/lasso/xml/soap_binding_provider.h +++ b/lasso/xml/soap_binding_provider.h @@ -66,9 +66,6 @@ LASSO_EXPORT GType lasso_soap_binding_provider_get_type(void); LASSO_EXPORT LassoSoapBindingProvider* lasso_soap_binding_provider_new(const gchar *providerID); -LASSO_EXPORT LassoSoapBindingProvider* lasso_soap_binding_provider_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */ diff --git a/lasso/xml/soap_binding_usage_directive.c b/lasso/xml/soap_binding_usage_directive.c index 753f63f6..625e4dd0 100644 --- a/lasso/xml/soap_binding_usage_directive.c +++ b/lasso/xml/soap_binding_usage_directive.c @@ -114,16 +114,3 @@ lasso_soap_binding_usage_directive_new(const gchar *ref) return node; } - -LassoSoapBindingUsageDirective* -lasso_soap_binding_usage_directive_new_from_message(const gchar *message) -{ - LassoSoapBindingUsageDirective *node; - - g_return_val_if_fail(message != NULL, NULL); - - node = g_object_new(LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE, NULL); - lasso_node_init_from_message(LASSO_NODE(node), message); - - return node; -} diff --git a/lasso/xml/soap_binding_usage_directive.h b/lasso/xml/soap_binding_usage_directive.h index 038a47ff..0617c774 100644 --- a/lasso/xml/soap_binding_usage_directive.h +++ b/lasso/xml/soap_binding_usage_directive.h @@ -67,9 +67,6 @@ LASSO_EXPORT GType lasso_soap_binding_usage_directive_get_type(void); LASSO_EXPORT LassoSoapBindingUsageDirective* lasso_soap_binding_usage_directive_new( const gchar *ref); -LASSO_EXPORT LassoSoapBindingUsageDirective* lasso_soap_binding_usage_directive_new_from_message( - const gchar *message); - #ifdef __cplusplus } #endif /* __cplusplus */