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

STSClient does not send Renewing element in renewal RequestSecurityToken message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.7
    • 2.7.8
    • STS
    • None
    • Unknown

    Description

      STSClient does not add a Renewing element to the RequestSecurityToken message when performing a renew, regardless of the value of sendRenewing (or allowRenewing or allowRenewingAfterExpiry).

      This does not prevent prevent a renewal from being renewed because that is allowed by default, but it does prevent a renewal from being renewed after expiry (OK=true attribute) when that option is enabled.

      The client is also unable to prevent a renewal from being renewable (using the Allow=false attribute) however I'm not sure the client would ever attempt that anyway since the same restriction would be on the originally issued token so you would never get that far.

      See AbstractSTSClient#renew(SecurityToken) line 955 which I believe needs code similar to AbstractSTSClient#issue(String,String,String,String) lines 745-755.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            ethan.wallwork Ethan Wallwork
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: