You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Nikolay Khasanov (JIRA)" <ji...@apache.org> on 2010/03/31 09:58:27 UTC

[jira] Created: (CXF-2745) Add ability to define custom TimeToLive value for WSSecTimestamp

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.


[jira] Resolved: (CXF-2745) Add ability to define custom TimeToLive value for WSSecTimestamp

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2745.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.8
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.2.8
>
>
> 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.