<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=976440114-06052009>You may also want to change "brms" to "drools-guvnor"
not "brms-*.properties to drools-guvnor-*.properties. I have found the
making sure I specify drools-guvnor instead of brms or drools-brms whenever
possible avoids a lot of not so obvious problems at least if you are using 5.0.0
CR1, don't know about the the M* releases.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=Section1>
<P class=MsoNormal><I><SPAN style="FONT-SIZE: 7.5pt; COLOR: gray">| Jonathan
Ingold | <A
href="mailto:jonathan.ingold@jackson.com">jonathan.ingold@jackson.com</A>
| PH: & FAX: 517-367-3827 | Business Rules Developer | Jackson National |
<A href="http://www.jackson.com/">http://www.jackson.com</A> |
</SPAN></I><I><SPAN style="FONT-SIZE: 7.5pt; COLOR: #ff6600">Please note that
all Jackson e-mail addresses have changed from @jnli.com to
@jackson.com</SPAN></I><I><SPAN
style="FONT-SIZE: 7.5pt; COLOR: gray">.</SPAN></I></P></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV><EM><FONT
color=#808080></FONT></EM><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV class=gmail_quote>2009/5/6 Darrin Mison <SPAN dir=ltr><<A
href="mailto:dmison@redhat.com">dmison@redhat.com</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>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"
target=_blank>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></DIV><BR>_______________________________________________<BR>rules-users
mailing list<BR><A
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A><BR><A
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target=_blank>https://lists.jboss.org/mailman/listinfo/rules-users</A><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>