NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      The newly defined SharedDataManager is not plugin:available

      <bean id="clusterSharedDataManager" primary="true" parent="abstractClusterAwareFactoryBean">
          <property name="targetBeanType" value="com.atlassian.confluence.cluster.shareddata.SharedDataManager"/>
      </bean>
      

      Since this manager is a dependency of the TokenAuthenticationManager and plugins that use it will fail to load.

            [CONFSERVER-36409] SharedDataManager not publicly available

            Any updates on this? I need the SharedData cache for my own TokenAuth mechanism, its broken from Conf 5.7 onwards
            I didnt use TokenAuthManager directly, instead I only used the same cache. But its not available without SharedDataManager.

            Stefan Ernst added a comment - Any updates on this? I need the SharedData cache for my own TokenAuth mechanism, its broken from Conf 5.7 onwards I didnt use TokenAuthManager directly, instead I only used the same cache. But its not available without SharedDataManager.

            The SharedDataManager is not plugin available, which is why you can't wire it in to your plugin. The TokenAuthenticationManager use to be available to plugins but was removed in confluence 4.0. The fact that this was working until Confluence 5.6 is where the confusing is coming in. I don't think the solution here is to provide these managers to the plugin, lets move the discussion back to REL-151. Also note that this issue is public so the link to your plugin download is now public.

            m@ (Inactive) added a comment - The SharedDataManager is not plugin available, which is why you can't wire it in to your plugin. The TokenAuthenticationManager use to be available to plugins but was removed in confluence 4.0. The fact that this was working until Confluence 5.6 is where the confusing is coming in. I don't think the solution here is to provide these managers to the plugin, lets move the discussion back to REL-151. Also note that this issue is public so the link to your plugin download is now public.

            AnisB added a comment - - edited

            I have attached my atlassian-plugin.xml.

            Waiting for your feedback

            Regards

            AnisB added a comment - - edited I have attached my atlassian-plugin.xml. Waiting for your feedback Regards

              Unassigned Unassigned
              mjensen m@ (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: