You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by sh...@apache.org on 2008/08/28 16:33:21 UTC
svn commit: r689836 -
/webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c
Author: shankar
Date: Thu Aug 28 07:33:21 2008
New Revision: 689836
URL: http://svn.apache.org/viewvc?rev=689836&view=rev
Log:
setting version of security context token in serialise.
Modified:
webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c
Modified: webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c?rev=689836&r1=689835&r2=689836&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c (original)
+++ webservices/rampart/trunk/c/src/rahas/rahas_request_processor.c Thu Aug 28 07:33:21 2008
@@ -131,6 +131,17 @@
return AXIS2_FAILURE;
}
+ /* set sct version */
+ if(trust_version == TRUST_VERSION_05_02)
+ {
+ security_context_token_set_is_sc10(sct, env, AXIS2_TRUE);
+ }
+ else if(trust_version == TRUST_VERSION_05_12)
+ {
+ security_context_token_set_is_sc10(sct, env, AXIS2_FALSE);
+ }
+
+
/* store SCT so that when server needs it, can be extracted. It is the responsibility of the
* storing implementer to switch to global pool if needed */
if(rahas_store_security_context_token(env, sct, msg_ctx) != AXIS2_SUCCESS)