Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12228

Create modifier for ProcessEngineConfigurationImpl.authorizationService

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.14.0, 7.14.0-alpha2
    • None
    • engine
    • None

      AT

      Add setter for the authorizationService configuration property in the ProcessEngineConfigurationImpl class

      Reasoning

      In a plugin I've created, in its 'postInit' method, I'd like to change the value of the field 'authorizationService' of the engine configuration. The method gets passed a parameter of type 'ProcessEngineConfigurationImpl'.

      However, this class has only a getter for the field 'authorizationService', there is no setter. The field itself is declared as 'protected'. As the result, I have to use Java reflection to set the field value which is not very nice.

      It would be helpful if there was a setter for the field 'authorizationService'.

      It would also be cool if this could be backported to camunda 7.11, 7.12 and 7.13.

        This is the controller panel for Smart Panels app

              tassilo.weidner Tassilo Weidner
              fml2 fml2
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: