<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The Drools 5 guvnor guide states that you can specify the admin role for a user in your JAAS login configuration.<div><br></div><div>"It is also possible (thanks to JAAS) to define what users have the "admin" role for Guvnor"</div><div><br></div><div>This is also stated here: <a href="http://magazine.redhat.com/2008/08/12/jboss-drools-how-to-tuning-guvnor-part-1/#password">http://magazine.redhat.com/2008/08/12/jboss-drools-how-to-tuning-guvnor-part-1/#password</a></div><div><br></div><div>I can't get this to work, the only way I can assign roles to users is using the web UI. </div><div><br></div><div>Is this a bug or are the docs out of date ? Or am I missing something ?</div><div><br></div><div><b>server/default/deploy/jboss-brms.war/WEB-INF/components.xml</b></div><div><security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="brms"/></div><div><security:role-based-permission-resolver enable-role-based-authorization="true"/></div><div><br></div><div><b>server/default/conf/login-config.xml:</b></div><div> <application-policy name="brms"></div><div><div> <authentication></div><div> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"></div><div> <module-option name="usersProperties">props/brms-users.properties</module-option></div><div> <module-option name="rolesProperties">props/brms-roles.properties</module-option></div><div> </login-module></div><div> </authentication></div><div> </application-policy></div><div><br></div><div><b>server/default/conf/props/brms-users.properties</b></div><div>admin=admin123</div><div><br></div><div><div><b>server/default/conf/props/brms-roles.properties</b></div><div>admin=admin</div></div><div><br></div></div></body></html>