KeyFactory provider still hardcoded to "SUN"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 1.1
    • Affects Version/s: 1.0.3
    • Component/s: None

      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.

            Assignee:
            dave (Inactive)
            Reporter:
            Paul Rene Jørgensen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: