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

Reversed logic in AbstractJwtHandler#validateSignature

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1, 3.0.5
    • Component/s: JAX-RS Security
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      The logic in the validateSignature method in org.apache.cxf.rs.security.oauth2.grants.jwt.AbstractJwtHandler is reversed - the method throws an OAuthServiceException when the signature is valid and doesn't throw an exception when the signature is not valid.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              jsamarziya Jeffrey Samarziya
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: