Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-1199

KeyFactory provider still hardcoded to "SUN"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 1.1
    • 1.0.3
    • None

    Description

      When running Confluence with other JDK's than SUN's the license decoder barfs when it tried to load SUN's implementation of the KeyFactory.

      The offending code is located in the "atlassian-confluence-extras-1.jar" file and the class is "com\atlassian\confluence\license\decoder\ConfluenceLicenseDecoder.class". You must change the following line:

      "KeyFactory keyFactory = KeyFactory.getInstance("DSA","SUN");"

      .. into ...

      "KeyFactory keyFactory = KeyFactory.getInstance("DSA");"

      to let Confluence run on other JDK's. e.g IBM's JDK implementation that does not include SUN KeyFactory implementation but includes their own.

      Attachments

        Activity

          People

            dave@atlassian.com dave (Inactive)
            8d3c164c04d6 Paul Rene Jørgensen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: