@Component public class IdmBootstrapper extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Constructor and Description |
|---|
IdmBootstrapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDefaultAdminUserAndPrivileges() |
protected org.flowable.idm.api.Privilege |
findOrCreatePrivilege(String privilegeName,
Map<String,org.flowable.idm.api.Privilege> privilegeMap) |
protected org.flowable.idm.api.User |
initializeAdminUser() |
protected void |
initializeDefaultPrivileges(String adminId) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
protected boolean |
privilegeMappingExists(String restAdminId,
org.flowable.idm.api.Privilege privilege) |
void |
setLdapProperties(org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties) |
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>protected void createDefaultAdminUserAndPrivileges()
protected org.flowable.idm.api.User initializeAdminUser()
protected void initializeDefaultPrivileges(String adminId)
protected org.flowable.idm.api.Privilege findOrCreatePrivilege(String privilegeName, Map<String,org.flowable.idm.api.Privilege> privilegeMap)
protected boolean privilegeMappingExists(String restAdminId, org.flowable.idm.api.Privilege privilege)
@Autowired(required=false) public void setLdapProperties(org.flowable.spring.boot.ldap.FlowableLdapProperties ldapProperties)
Copyright © 2021 Flowable. All rights reserved.