Package org.camunda.bpm.admin.impl.web
Class SetupResource
java.lang.Object
org.camunda.bpm.admin.impl.web.SetupResource
Jax RS resource allowing to perform the setup steps.
All methods of this class must throw Status.FORBIDDEN exception if setup actions are unavailable.
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final WebappLogger
protected javax.ws.rs.ext.Providers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createInitialUser
(String processEngineName, UserDto user) protected void
createInitialUserInternal
(String processEngineName, UserDto user, ProcessEngine processEngine) protected void
ensureCamundaAdminGroupExists
(ProcessEngine processEngine) protected void
ensureSetupAvailable
(ProcessEngine processEngine) protected com.fasterxml.jackson.databind.ObjectMapper
protected ProcessEngine
lookupProcessEngine
(String engineName)
-
Field Details
-
LOGGER
-
providers
@Context protected javax.ws.rs.ext.Providers providers
-
-
Constructor Details
-
SetupResource
public SetupResource()
-
-
Method Details
-
createInitialUser
public void createInitialUser(String processEngineName, UserDto user) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
createInitialUserInternal
protected void createInitialUserInternal(String processEngineName, UserDto user, ProcessEngine processEngine) -
getObjectMapper
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
ensureCamundaAdminGroupExists
-
ensureSetupAvailable
-
lookupProcessEngine
-