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

Present realm ignored by TokenValidateOperation for TokenValidator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5.1
    • Component/s: Services
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If the configured RealmParser returns a non-null value, the TokenValiateOperation should call the following method on all registered TokenValidator:
      public boolean canHandleToken(ReceivedToken validateTarget, String realm)

      Instead, the following method is called:
      public boolean canHandleToken(ReceivedToken validateTarget)

        Issue Links

          Activity

          Hide
          owulff Oliver Wulff added a comment -

          Can I migrate everything to canHandleToken(ReceivedToken validateTarget, String realm) for the TokenProvider?
          I've checked the corresponding method in the TokenProvider. Only test routines call:
          boolean canHandleToken(String tokenType)

          Show
          owulff Oliver Wulff added a comment - Can I migrate everything to canHandleToken(ReceivedToken validateTarget, String realm) for the TokenProvider? I've checked the corresponding method in the TokenProvider. Only test routines call: boolean canHandleToken(String tokenType)
          Hide
          coheigea Colm O hEigeartaigh added a comment -

          Sure.

          Colm.

          Show
          coheigea Colm O hEigeartaigh added a comment - Sure. Colm.
          Hide
          owulff Oliver Wulff added a comment -

          This issue is fixed in CXF-3928 (AbstractOperation.validateReceivedToken())

          Show
          owulff Oliver Wulff added a comment - This issue is fixed in CXF-3928 (AbstractOperation.validateReceivedToken())

            People

            • Assignee:
              Unassigned
              Reporter:
              owulff Oliver Wulff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development