Add ability to define custom TimeToLive value for WSSecTimestamp
----------------------------------------------------------------

                 Key: CXF-2745
                 URL: https://issues.apache.org/jira/browse/CXF-2745
             Project: CXF
          Issue Type: Improvement
          Components: WS-* Components
    Affects Versions: 2.2.7
            Reporter: Nikolay Khasanov


Currently it is impossible to define any custom TimeToLive value for Timestamp 
generated by WS-SecurityPolicy - always default value - 300 seconds is used.

I suggest to add one more jaxws:property like for UsernameToken, Signature, 
Encryption:
    "ws-security.timestamp.timeToLive"
and read this value in AbstractBindingBuilder when Timestamp element is 
creating (in protected WSSecTimestamp createTimestamp() )
if value for this property is specified - set custom timeToLive for calculating 
<Expires/> value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to