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

Create modifier for ProcessEngineConfigurationImpl.authorizationService

    • 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

            [CAM-12228] Create modifier for ProcessEngineConfigurationImpl.authorizationService

            fml2 created issue -
            fml2 made changes -
            Description Original: In a plugin I've created, in its '*postInit*' method, I'd like to change the value of the field '*authorizationService*'. 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 helpul 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.
            New: 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 helpul 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.
            fml2 made changes -
            Mentioned Roles
            fml2 made changes -
            Mentioned Groups
            fml2 made changes -
            Description Original: 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 helpul 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.
            New: 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.
            fml2 made changes -
            Mentioned Roles
            fml2 made changes -
            Mentioned Groups
            Tassilo Weidner made changes -
            Mentioned Roles
            Tassilo Weidner made changes -
            Mentioned Groups
            Tassilo Weidner made changes -
            Assignee New: Tassilo Weidner [ tassilo.weidner ]
            fml2 made changes -
            Mentioned Roles

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

                Created:
                Updated:
                Resolved: