@Configuration(proxyBeanMethods=false) public class BootstrapConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IdmIdentityService |
idmIdentityService |
protected static org.slf4j.Logger |
LOGGER |
protected RepositoryService |
repositoryService |
protected RestAppProperties |
restAppProperties |
| Constructor and Description |
|---|
BootstrapConfiguration(RepositoryService repositoryService,
IdmIdentityService idmIdentityService,
RestAppProperties restAppProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDefaultAdminUserAndPrivileges(String restAdminUserId) |
org.springframework.boot.CommandLineRunner |
initDefaultAdminUserAndPrivilegesRunner()
Initialize the rest admin user
|
protected void |
initDemoProcessDefinitions() |
org.springframework.boot.CommandLineRunner |
initDemoProcessDefinitionsRunner()
Initialize the demo process definitions
|
protected void |
initializeDefaultPrivileges(String restAdminId) |
protected void |
initializePrivilege(String restAdminId,
String privilegeName) |
protected User |
initRestAdmin() |
protected boolean |
restApiPrivilegeMappingExists(String restAdminId,
Privilege privilege) |
protected static final org.slf4j.Logger LOGGER
protected final RepositoryService repositoryService
protected final IdmIdentityService idmIdentityService
protected final RestAppProperties restAppProperties
public BootstrapConfiguration(RepositoryService repositoryService, IdmIdentityService idmIdentityService, RestAppProperties restAppProperties)
@Bean
@ConditionalOnProperty(prefix="flowable.rest.app.admin",
name="user-id")
public org.springframework.boot.CommandLineRunner initDefaultAdminUserAndPrivilegesRunner()
@Bean
@ConditionalOnProperty(prefix="flowable.rest.app",
name="create-demo-definitions",
havingValue="true")
public org.springframework.boot.CommandLineRunner initDemoProcessDefinitionsRunner()
protected void createDefaultAdminUserAndPrivileges(String restAdminUserId)
protected User initRestAdmin()
protected void initializeDefaultPrivileges(String restAdminId)
protected boolean restApiPrivilegeMappingExists(String restAdminId, Privilege privilege)
protected void initDemoProcessDefinitions()
Copyright © 2023 Flowable. All rights reserved.