03-22-2013 05:41 PM
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="true" />
<property name="customSessionFactories">
<list>
<bean class="com.vv.ldap.LDAPUserManagerFactory">
<constructor-arg ref="ldapConnectionParams" />
</bean>
<bean class="com.vv.ldap.LDAPGroupManagerFactory">
<constructor-arg ref="ldapConnectionParams" />
</bean>
</list>
</property>
<property name="customFormTypes">
<list>
<bean class="org.activiti.explorer.form.UserFormType"/>
<bean class="org.activiti.explorer.form.ProcessDefinitionFormType"/>
<bean class="org.activiti.explorer.form.MonthFormType"/>
</list>
</property>
</bean>
<bean id="ldapConnectionParams"
class="com.ihc.ldap.LDAPConnectionParams">
<property name="ldapServer" value="localhost" />
<property name="ldapPort" value="10389" />
<property name="ldapUser" value="uid=admin,ou=system" />
<property name="ldapPassword" value="secret" />
</bean>@Override
public GroupQuery createNewGroupQuery() {
return new GroupQueryImpl(Context.getProcessEngineConfiguration().getCommandExecutorTxRequired());
}03-25-2013 05:38 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.