[jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3

c4s4l do-not-reply at jboss.com
Wed Sep 30 10:13:38 EDT 2009


Found the error, the policy name was changed apparently, so login-conf.xml should be according to:

<application-policy name = "jbpm-console"> 
  |        <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 JBPM4_ID_USER WHERE ID_=? 
  |            </module-option> 
  |            <module-option name="rolesQuery"> 
  | 			SELECT g.NAME_ ,'Roles'
  | 			FROM JBPM4_ID_USER u,
  | 				JBPM4_ID_MEMBERSHIP m,
  | 				JBPM4_ID_GROUP g
  | 			WHERE g.TYPE_='security-role'
  | 			AND m.GROUP_ = g.DBID_
  | 			AND m.USER_ = u.DBID_
  |                AND u.ID_=? 
  |            </module-option> 
  |          </login-module> 
  |        </authentication> 
  |     </application-policy> 

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

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



More information about the jboss-user mailing list