Search in sources :

Example 1 with SpringIdmEngineConfiguration

use of org.flowable.idm.spring.SpringIdmEngineConfiguration in project plumdo-work by wengwh.

the class FlowableIdmConfig method idmEngineConfiguration.

@Autowired
public SpringIdmEngineConfiguration idmEngineConfiguration(DataSource dataSource, PlatformTransactionManager platformTransactionManager) {
    SpringIdmEngineConfiguration configuration = super.idmEngineConfiguration(dataSource, platformTransactionManager);
    configuration.setGroupEntityManager(new AiaGroupEntityManager(restClient, configuration, configuration.getGroupDataManager()));
    configuration.setUserEntityManager(new AiaUserEntityManager(restClient, configuration, configuration.getUserDataManager()));
    return configuration;
}
Also used : AiaGroupEntityManager(com.plumdo.flow.identity.AiaGroupEntityManager) AiaUserEntityManager(com.plumdo.flow.identity.AiaUserEntityManager) SpringIdmEngineConfiguration(org.flowable.idm.spring.SpringIdmEngineConfiguration) Autowired(org.springframework.beans.factory.annotation.Autowired)

Aggregations

AiaGroupEntityManager (com.plumdo.flow.identity.AiaGroupEntityManager)1 AiaUserEntityManager (com.plumdo.flow.identity.AiaUserEntityManager)1 SpringIdmEngineConfiguration (org.flowable.idm.spring.SpringIdmEngineConfiguration)1 Autowired (org.springframework.beans.factory.annotation.Autowired)1