Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7831

Coverity: default platform encoding used in TokenRealmDefinition (Elytron subsystem)

    XMLWordPrintable

Details

    Description

      Coverity static-analysis scan found a String to byte conversion with default platform encoding in the TokenRealmDefinition.performRuntime method.

      https://scan7.coverity.com/reports.htm#v16159/p12663/fileInstanceId=6892114&defectInstanceId=1794526&mergedDefectId=1388485&eventId=1794526-0
      Following code

      jwtValidatorBuilder.publicKey(publicKey.getBytes());
      

      The encoding should be specified as argument.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              josef.cacek@gmail.com Josef Cacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: