You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@apache.org on 2007/11/01 13:31:53 UTC
svn commit: r590979 - in /webservices/axis2/trunk/c/neethi/src: assertion.c
secpolicy/model/property.c secpolicy/model/transport_binding.c
Author: manjula
Date: Thu Nov 1 05:31:52 2007
New Revision: 590979
URL: http://svn.apache.org/viewvc?rev=590979&view=rev
Log:
Fixing bugs found during the interop.
Modified:
webservices/axis2/trunk/c/neethi/src/assertion.c
webservices/axis2/trunk/c/neethi/src/secpolicy/model/property.c
webservices/axis2/trunk/c/neethi/src/secpolicy/model/transport_binding.c
Modified: webservices/axis2/trunk/c/neethi/src/assertion.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/assertion.c?rev=590979&r1=590978&r2=590979&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/assertion.c (original)
+++ webservices/axis2/trunk/c/neethi/src/assertion.c Thu Nov 1 05:31:52 2007
@@ -30,6 +30,7 @@
#include <rp_rampart_config.h>
#include <rp_signed_encrypted_parts.h>
#include <rp_symmetric_binding.h>
+#include <rp_transport_binding.h>
struct neethi_assertion_t
{
@@ -130,6 +131,10 @@
{
rp_property_increment_ref((rp_property_t *) value, env);
}
+ if (type == ASSERTION_TYPE_TRANSPORT_TOKEN)
+ {
+ rp_property_increment_ref((rp_property_t *) value, env);
+ }
if (type == ASSERTION_TYPE_SIGNATURE_TOKEN)
{
rp_property_increment_ref((rp_property_t *) value, env);
@@ -176,6 +181,12 @@
env);
}
+ if (type == ASSERTION_TYPE_TRANSPORT_BINDING)
+ {
+ rp_transport_binding_increment_ref((rp_transport_binding_t *) value,
+ env);
+ }
+
if (type == ASSERTION_TYPE_SIGNED_ENCRYPTED_PARTS)
{
rp_signed_encrypted_parts_increment_ref((rp_signed_encrypted_parts_t *)
Modified: webservices/axis2/trunk/c/neethi/src/secpolicy/model/property.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/secpolicy/model/property.c?rev=590979&r1=590978&r2=590979&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/secpolicy/model/property.c (original)
+++ webservices/axis2/trunk/c/neethi/src/secpolicy/model/property.c Thu Nov 1 05:31:52 2007
@@ -197,6 +197,12 @@
{
rp_username_token_increment_ref((rp_username_token_t *) value, env);
}
+
+ if (type == RP_PROPERTY_HTTPS_TOKEN)
+ {
+ rp_https_token_increment_ref((rp_https_token_t *) value, env);
+ }
+
if (type == RP_PROPERTY_SIGNED_SUPPORTING_TOKEN)
{
rp_supporting_tokens_increment_ref((rp_supporting_tokens_t *) value,
Modified: webservices/axis2/trunk/c/neethi/src/secpolicy/model/transport_binding.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/secpolicy/model/transport_binding.c?rev=590979&r1=590978&r2=590979&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/secpolicy/model/transport_binding.c (original)
+++ webservices/axis2/trunk/c/neethi/src/secpolicy/model/transport_binding.c Thu Nov 1 05:31:52 2007
@@ -123,6 +123,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, transport_token, AXIS2_FAILURE);
+ rp_property_increment_ref(transport_token, env);
transport_binding->transport_token = transport_token;
return AXIS2_SUCCESS;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org