-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
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
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. |
Mentioned Roles |
Mentioned Groups |
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. |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
Assignee | New: Tassilo Weidner [ tassilo.weidner ] |
Mentioned Roles |