Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7926

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
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: