Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-1072

Support process engine plugins in JBoss Subsystem.xml and processes.xml deployment

    XMLWordPrintable

Details

    Description

      1) processes.xml:

      <process-engine name="engine3">
      <configuration>org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration</configuration>
      <properties>
      <property name="jdbcUrl">jdbc:h2:mem:activiti3;MVCC=TRUE;TRACE_LEVEL_FILE=0;DB_CLOSE_ON_EXIT=FALSE</property>
      <property name="authorizationEnabled">true</property>
      </properties>

      <!-- this process engine has LDAP support -->
      <plugin>
      <class>org.camunda.bpm.identity.impl.ldap.LdapIdentityProviderPlugin</class>
      <properties>

      <property name="serverUrl">ldap://localhost:5026</property>
      <property name="managerDn">uid=daniel,ou=office-berlin,o=camunda,c=org</property>
      <property name="managerPassword">daniel</property>

      <property name="baseDn">o=camunda,c=org</property>

      <property name="userSearchBase"></property>
      <property name="userSearchFilter">(objectclass=person)</property>

      <property name="userIdAttribute">uid</property>
      <property name="userFirstnameAttribute">cn</property>
      <property name="userLastnameAttribute">sn</property>
      <property name="userEmailAttribute">mail</property>
      <property name="userPasswordAttribute">userpassword</property>

      <property name="groupSearchBase"></property>
      <property name="groupSearchFilter">(objectclass=groupOfNames)</property>
      <property name="groupIdAttribute">ou</property>
      <property name="groupNameAttribute">cn</property>

      <property name="groupMemberAttribute">member</property>

      </properties>
      </plugin>

      </process-engine>

      The <plugin></plugin> element is parsed into a list of ProcessEnginePluginXml objects. Need to be instantiated & added to Process engine Configuration.

      See org.camunda.bpm.container.impl.jmx.deployment.StartProcessEngineStep.configurePlugins(ProcessEngineConfigurationImpl, ProcessEngineXml, ClassLoader)

      2) subsystem.xml

      adding process engine plugin configurations to subsystem.xml is possible as well.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              lipphardt Christian
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce