public class SetupResource extends Object
Jax RS resource allowing to perform the setup steps.
All methods of this class must throw Status.FORBIDDEN exception if setup actions are unavailable.
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
SetupResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
createInitialUser(String processEngineName,
org.camunda.bpm.engine.rest.dto.identity.UserDto user) |
protected void |
createInitialUserInternal(String processEngineName,
org.camunda.bpm.engine.rest.dto.identity.UserDto user,
org.camunda.bpm.engine.ProcessEngine processEngine) |
protected void |
ensureCamundaAdminGroupExists(org.camunda.bpm.engine.ProcessEngine processEngine) |
protected void |
ensureSetupAvailable(org.camunda.bpm.engine.ProcessEngine processEngine) |
protected com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
protected org.camunda.bpm.engine.ProcessEngine |
lookupProcessEngine(String engineName) |
public void createInitialUser(String processEngineName, org.camunda.bpm.engine.rest.dto.identity.UserDto user) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected void createInitialUserInternal(String processEngineName, org.camunda.bpm.engine.rest.dto.identity.UserDto user, org.camunda.bpm.engine.ProcessEngine processEngine)
protected com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
protected void ensureCamundaAdminGroupExists(org.camunda.bpm.engine.ProcessEngine processEngine)
protected void ensureSetupAvailable(org.camunda.bpm.engine.ProcessEngine processEngine)
protected org.camunda.bpm.engine.ProcessEngine lookupProcessEngine(String engineName)
Copyright © 2014–2019 camunda services GmbH. All rights reserved.