I configured the realm in the login-config.xml if the jboss instance.
| <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>
|
I also tried the names "jbpm" or "other". The results in the logs are
the same.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265870#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...