[jboss-user] [JBoss jBPM] - Re: tomcat and mysql integration

vtysh do-not-reply at jboss.com
Tue Oct 30 12:02:34 EDT 2007


This text is present in jboss installation of the jbpm-console in login-config.xml. Maybe this will help You.

  |     <application-policy name = "jbpm">
  |        <authentication>
  |          <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule"
  |                        flag="required">
  |            <module-option name="dsJndiName">java:/JbpmDS</module-option>
  |            <module-option name="principalsQuery">
  |              SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=?
  |            </module-option>
  |            <module-option name="rolesQuery">
  |              SELECT g.NAME_ ,'Roles' 
  |              FROM JBPM_ID_USER u,
  |                   JBPM_ID_MEMBERSHIP m,
  |                   JBPM_ID_GROUP g
  |              WHERE g.TYPE_='security-role'
  |                AND m.GROUP_ = g.ID_
  |                AND m.USER_ = u.ID_
  |                AND u.NAME_=?
  |            </module-option>
  |          </login-module>
  |        </authentication>
  |     </application-policy>
Currently i don't know what exactly you should do to start jbpm-console on tomcat. Try to search the forum...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100334#4100334

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100334



More information about the jboss-user mailing list