You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Malinda Kaushalye Kapuruge (JIRA)" <ji...@apache.org> on 2006/11/20 09:26:02 UTC
[jira] Resolved: (AXIS2C-413) There should be a way to timestamp
only created time.
[ http://issues.apache.org/jira/browse/AXIS2C-413?page=all ]
Malinda Kaushalye Kapuruge resolved AXIS2C-413.
-----------------------------------------------
Fix Version/s: Current (Nightly)
(was: 0.96)
Resolution: Fixed
If user needs to send only the Created element in the Timestamp, specify a value less than zero.
> There should be a way to timestamp only created time.
> -----------------------------------------------------
>
> Key: AXIS2C-413
> URL: http://issues.apache.org/jira/browse/AXIS2C-413
> Project: Axis2-C
> Issue Type: Sub-task
> Components: rampart
> Affects Versions: Current (Nightly)
> Reporter: Dinesh Premalal
> Assigned To: Malinda Kaushalye Kapuruge
> Fix For: Current (Nightly)
>
>
> There should be a way to timestamp only created time. Though timeToLive property is not available rampart is going to set default timeToLive property.
> <snippet file="rampart_out_handler.c" line="249">
> ttl_str = RAMPART_ACTIONS_GET_TIME_TO_LIVE(actions, env);
> ttl = atoi(RAMPART_ACTIONS_GET_TIME_TO_LIVE(actions, env));
> if (ttl <= 0)
> {
> AXIS2_LOG_INFO(env->log, "[rampart][rampart_out_handler] Using default timeToLive value %s",
> RAMPART_TIMESTAMP_TOKEN_DEFAULT_TIME_TO_LIVE);
> ttl = RAMPART_TIMESTAMP_TOKEN_DEFAULT_TIME_TO_LIVE;
> }
> timestamp_token = rampart_timestamp_token_create(env);
> </snippet>
> <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
> <wsu:Created>2006-11-19T13:26:38Z</wsu:Created>
> </wsu:Timestamp>
> if user need to have only created time timestamp (as above). There should be a way to do that. I'm not sure weather there is a method already.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org