Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-954

Don't consume parsing errors for JWT tokens

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • None

    Description

      Right now, the JWTToken consumes an error on parsing a token. This is a bit dubious and leads to NPEs in the filters (for example when trying to extract claims). Adding back in the previously commented out test in AbstractJWTFilterTest as part of this patch.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: