Class AdministratorAuthorizationPlugin
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin
-
- org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin
-
- All Implemented Interfaces:
ProcessEnginePlugin
public class AdministratorAuthorizationPlugin extends AbstractProcessEnginePlugin
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
administratorGroupName
The name of the administrator group.protected String
administratorUserName
The name of the administrator user.protected boolean
authorizationEnabled
-
Constructor Summary
Constructors Constructor Description AdministratorAuthorizationPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdministratorGroupName()
String
getAdministratorUserName()
void
postInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Invoked after the process engine configuration is initialized.void
postProcessEngineBuild(ProcessEngine processEngine)
Invoked after the process engine has been built.void
setAdministratorGroupName(String administratorGroupName)
void
setAdministratorUserName(String administratorUserName)
-
Methods inherited from class org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin
preInit, toString
-
-
-
-
Field Detail
-
administratorGroupName
protected String administratorGroupName
The name of the administrator group. If this name is set to a non-null and non-empty value, the plugin will create group-level Administrator authorizations on all built-in resources.
-
administratorUserName
protected String administratorUserName
The name of the administrator user. If this name is set to a non-null and non-empty value, the plugin will create group-level Administrator authorizations on all built-in resources.
-
authorizationEnabled
protected boolean authorizationEnabled
-
-
Method Detail
-
postInit
public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration)
Description copied from interface:ProcessEnginePlugin
Invoked after the process engine configuration is initialized. and before the process engine is built.
- Specified by:
postInit
in interfaceProcessEnginePlugin
- Overrides:
postInit
in classAbstractProcessEnginePlugin
- Parameters:
processEngineConfiguration
- the process engine configuation
-
postProcessEngineBuild
public void postProcessEngineBuild(ProcessEngine processEngine)
Description copied from interface:ProcessEnginePlugin
Invoked after the process engine has been built.
- Specified by:
postProcessEngineBuild
in interfaceProcessEnginePlugin
- Overrides:
postProcessEngineBuild
in classAbstractProcessEnginePlugin
-
getAdministratorGroupName
public String getAdministratorGroupName()
-
setAdministratorGroupName
public void setAdministratorGroupName(String administratorGroupName)
-
getAdministratorUserName
public String getAdministratorUserName()
-
setAdministratorUserName
public void setAdministratorUserName(String administratorUserName)
-
-