diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2005-10-10 09:17:14 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2005-10-10 09:17:14 +0000 |
| commit | 7cc38a6688bd0f5b24e15e197e4e8a022ea24437 (patch) | |
| tree | 72319dc3f9065df1c6d90df6ac8fb7edb708bd91 | |
| parent | 360a9dfb9f04f18037cbdf0a77ede21e7bdc783f (diff) | |
| download | lasso-7cc38a6688bd0f5b24e15e197e4e8a022ea24437.tar.gz lasso-7cc38a6688bd0f5b24e15e197e4e8a022ea24437.tar.xz lasso-7cc38a6688bd0f5b24e15e197e4e8a022ea24437.zip | |
Removed useless discovery method lasso_discovery_get_service_with_providerId(). Removed useless Swig binding of LassoWsfProfile class.lasso/id-wsf/discovery.c
| -rw-r--r-- | swig/Lasso-wsf.i | 92 | ||||
| -rw-r--r-- | swig/inheritance.h | 3 |
2 files changed, 1 insertions, 94 deletions
diff --git a/swig/Lasso-wsf.i b/swig/Lasso-wsf.i index bb14823b..133b5e05 100644 --- a/swig/Lasso-wsf.i +++ b/swig/Lasso-wsf.i @@ -414,7 +414,6 @@ int LassoDiscovery_setSessionFromDump(LassoDiscovery *self, char *dump) { #define LassoDiscovery_processQueryMsg lasso_discovery_process_query_msg #define LassoDiscovery_processQueryResponseMsg lasso_discovery_process_query_response_msg #define LassoDiscovery_getService(self, type) get_node(lasso_discovery_get_service(self, type)) -#define LassoDiscovery_getServiceWithProviderId(self, providerId) get_node(lasso_discovery_get_service_with_providerId(self, providerId)) #define LassoDiscovery_getServices(self) get_node_list(lasso_discovery_get_services(self)); %} @@ -1068,94 +1067,3 @@ typedef struct { #define LassoAuthentication_serverStep lasso_authentication_server_step %} - - -/*********************************************************************** - *********************************************************************** - * XML Elements in Web Service Security Namespace - *********************************************************************** - ***********************************************************************/ - -/*********************************************************************** - * lasso:WsfProfile - ***********************************************************************/ - -#ifndef SWIGPHP4 -%rename(WsfProfile) LassoWsfProfile; -#endif -typedef struct { - /* Attributes */ -#ifndef SWIGPHP4 - %rename(soapEnvelopeRequest) soap_envelope_request; -#endif - %newobject soap_envelope_request_get; - LassoSoapEnvelope *soap_envelope_request; - -#ifndef SWIGPHP4 - %rename(soapEnvelopeResponse) soap_envelope_response; -#endif - %newobject soap_envelope_response_get; - LassoSoapEnvelope *soap_envelope_response; - - -} LassoWsfProfile; -%extend LassoWsfProfile { - - /* Attributes */ - %immutable msgBody; - char *msgBody; - - %immutable msgUrl; - char *msgUrl; - - /* Constructor, Destructor & Static Methods */ - - LassoWsfProfile(LassoServer *server); - - ~LassoWsfProfile(); - - /* Methods */ - - void buildSoapRequestMsg(); - void buildSoapResponseMsg(); - void initSoapRequest(LassoNode *request); - void processSoapRequestMsg(char *soapRequestMsg, char *service_type, - char *security_mech_id = NULL); - void processSoapResponseMsg(char *soapResponseMsg); - LassoSoapBindingProvider *setProviderSoapRequest(const char *providerId); - gboolean isPrincipalOnline(); - void setPrincipalStatus(const char *status); - void setPrincipalOnline(); - void setPrincipalOffline(); -} - -%{ - -/* msgBody */ -#define LassoWsfProfile_get_msgBody(self) LASSO_WSF_PROFILE(self)->msg_body -#define LassoWsfProfile_msgBody_get(self) LASSO_WSF_PROFILE(self)->msg_body - -/* msgUrl */ -#define LassoWsfProfile_get_msgUrl(self) LASSO_WSF_PROFILE(self)->msg_url -#define LassoWsfProfile_msgUrl_get(self) LASSO_WSF_PROFILE(self)->msg_url - -/* Constructors, destructors & static methods implementations */ -#define new_LassoWsfProfile lasso_wsf_profile_new -#define delete_LassoWsfProfile(self) lasso_node_destroy(LASSO_NODE(self)) - -/* Implementations of methods inherited from LassoNode */ - -/* Attributes Implementations */ - -/* Methods implementations */ -#define LassoWsfProfile_buildSoapRequestMsg lasso_wsf_profile_build_soap_request_msg -#define LassoWsfProfile_buildSoapResponseMsg lasso_wsf_profile_build_soap_response_msg -#define LassoWsfProfile_initSoapRequest lasso_wsf_profile_init_soap_request -#define LassoWsfProfile_processSoapRequestMsg lasso_wsf_profile_process_soap_request_msg -#define LassoWsfProfile_processSoapResponseMsg lasso_wsf_profile_process_soap_response_msg -#define LassoWsfProfile_setProviderSoapRequest lasso_wsf_profile_set_provider_soap_request -#define LassoWsfProfile_isPrincipalOnline lasso_wsf_profile_principal_is_online -#define LassoWsfProfile_setPrincipalStatus lasso_wsf_profile_set_principal_status -#define LassoWsfProfile_setPrincipalOnline lasso_wsf_profile_set_principal_online -#define LassoWsfProfile_setPrincipalOffline lasso_wsf_profile_set_principal_offline -%} diff --git a/swig/inheritance.h b/swig/inheritance.h index 67f0957e..161975a2 100644 --- a/swig/inheritance.h +++ b/swig/inheritance.h @@ -151,8 +151,7 @@ SET_NODE_INFO(UtilityStatus, Node) SET_NODE_INFO(WsseSecurity, Node) /* Profiles */ -SET_NODE_INFO(WsfProfile, Node) -SET_NODE_INFO(DataService, WsfProfile) +SET_NODE_INFO(DataService, Node) SET_NODE_INFO(PersonalProfileService, DataService) #endif /* LASSO_WSF_ENABLED */ |
