Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2745

Add ability to define custom TimeToLive value for WSSecTimestamp

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.2.8
    • Component/s: WS-* Components
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              mikola Nikolay Khasanov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: