Uploaded image for project: 'Content Formatting Development'
  1. Content Formatting Development
  2. CONTENTF-1131

Latex/Restful table and Stylesheet Macros are unable to render when ESAPISecurityConfig is added to the Confluence JRE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 6.4.0, 6.4.1
    • 6.4.2
    • None

    Description

      Steps to Reproduce

      1. Add the Restful Table, Latex Formatting or Stylesheet macro to a Confluence page
      2. Add the following to the Confluence /opt/atlassian/confluence/conf/catalina.properties file:
      org.owasp.esapi.SecurityConfiguration=org.opensaml.ESAPISecurityConfig
      

             3. Restart Confluence 
             4. Open a page containing the Latex or Restul Table macro.

      Expected Outcome

      The Latex/Restful table/Stylesheet will be rendered on the page

      Actual Outcome

      The following error is presented: 

       

      com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.confluence.contentformatting.LatexFormattingMacro': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.adaptavist.confluence.contentformatting.LatexFormattingMacro]: Constructor threw exception; nested exception is org.owasp.esapi.errors.ConfigurationException: java.lang.ClassNotFoundException: org.opensaml.ESAPISecurityConfig not found by com.adaptavist.confluence.adaptavist-plugin-contentFormattingMacros [284] SecurityConfiguration class (org.opensaml.ESAPISecurityConfig) must be in class path.
      

       

      Intermittent?

      False

      Affected Versions

      Plugin Confluence Browser Java Database 3rd Party App(s)
      6.3.5,
      6.4.0,
      6.4.1
      - - - - -

       

      Attachments

        Activity

          People

            arosati Andrea Rosati
            lwonnacott Lee Wonnacott
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: