Class AdministratorAuthorizationPlugin
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin
-
- org.camunda.bpm.engine.impl.plugin.AdministratorAuthorizationPlugin
-
- All Implemented Interfaces:
ProcessEnginePlugin
- Direct Known Subclasses:
CamundaBpmRunAdministratorAuthorizationProperties
public class AdministratorAuthorizationPlugin extends AbstractProcessEnginePlugin
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
administratorGroupName
The name of the administrator group.protected java.lang.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 java.lang.String
getAdministratorGroupName()
java.lang.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(java.lang.String administratorGroupName)
void
setAdministratorUserName(java.lang.String administratorUserName)
-
Methods inherited from class org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin
preInit, toString
-
-
-
-
Field Detail
-
administratorGroupName
protected java.lang.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 java.lang.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 java.lang.String getAdministratorGroupName()
-
setAdministratorGroupName
public void setAdministratorGroupName(java.lang.String administratorGroupName)
-
getAdministratorUserName
public java.lang.String getAdministratorUserName()
-
setAdministratorUserName
public void setAdministratorUserName(java.lang.String administratorUserName)
-
-