<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&nbsp;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. &nbsp;</div><div><br></div><div>Is this a bug or are the docs out of date ? &nbsp;Or am I missing something ?</div><div><br></div><div><b>server/default/deploy/jboss-brms.war/WEB-INF/components.xml</b></div><div>&lt;security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="brms"/&gt;</div><div>&lt;security:role-based-permission-resolver enable-role-based-authorization="true"/&gt;</div><div><br></div><div><b>server/default/conf/login-config.xml:</b></div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;application-policy name="brms"&gt;</div><div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &lt;authentication&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;module-option name="usersProperties"&gt;props/brms-users.properties&lt;/module-option&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;module-option name="rolesProperties"&gt;props/brms-roles.properties&lt;/module-option&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/login-module&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &lt;/authentication&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/application-policy&gt;</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>