axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r619773 - /webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c
Date Fri, 08 Feb 2008 06:02:28 GMT
Author: shankar
Date: Thu Feb  7 22:02:18 2008
New Revision: 619773

URL: http://svn.apache.org/viewvc?rev=619773&view=rev
Log:
Signature token assertion is not propagated to symmetric binding. Corrected now.

Modified:
    webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c

Modified: webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c?rev=619773&r1=619772&r2=619773&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c (original)
+++ webservices/axis2/trunk/c/neethi/src/secpolicy/builder/symmetric_binding_builder.c Thu
Feb  7 22:02:18 2008
@@ -154,6 +154,19 @@
             else
                 return AXIS2_FAILURE;
         }
+        else if (type == ASSERTION_TYPE_SIGNATURE_TOKEN)
+        {
+            rp_property_t *signature_token = NULL;
+            signature_token =
+                (rp_property_t *) neethi_assertion_get_value(assertion, env);
+            if (signature_token)
+            {
+                rp_symmetric_binding_set_signature_token(symmetric_binding,
+                                                         env, signature_token);
+            }
+            else
+                return AXIS2_FAILURE;
+        }
         else if (type == ASSERTION_TYPE_ALGORITHM_SUITE)
         {
             rp_algorithmsuite_t *algorithmsuite = NULL;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message