<br><font size=2 face="Trebuchet MS">Hi,</font>
<br><font size=2 face="Trebuchet MS">Thanks Jarek for your reply. </font>
<br><font size=2 face="Trebuchet MS">Still I have one doubt in my mind,
how can I see the data for a newly registered user (i.e name &amp; permission
)</font>
<br><font size=2 face="Trebuchet MS">created through Drools Guvnor &nbsp;administrator
functionality. &nbsp;Where should I find the new user data(i.e. name &nbsp;&amp;
permission assigned) , so that </font>
<br><font size=2 face="Trebuchet MS">I can write synch service to synch
data from Drools Guvnor table to OFBiz table.</font>
<br>
<br><font size=2 face="Trebuchet MS">Please help me to through out from
this problem.</font>
<br>
<br><font size=2 face="Trebuchet MS">Thanks &amp; Regards<br>
<br>
Pardeep Ruhil<br>
L&amp;T Infotech Ltd<br>
Mumbai<br>
Ph: +919820283884</font>
<br><tt><font size=2><br>
<br>
Pardeep.Ruhil@lntinfotech.com wrote:<br>
&gt; <br>
&gt; Hi,<br>
&gt; I am using Apache OFBiz and had successfully integrated Drools Guvnor
<br>
&gt; war file with OFBiz.<br>
&gt; By default Drools Guvnor supports Embedded derby, but in OFBiz i am
<br>
&gt; using MYSql , so i changed<br>
&gt; the default embedded derby to MySql using repository.xml file by the
<br>
&gt; following code.<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PersistenceManager
<br>
&gt; class=&quot;org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager&quot;&gt;
<br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
name=&quot;url&quot; <br>
&gt; value=&quot;jdbc:mysql://localhost:3306/drools&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
name=&quot;user&quot; value=&quot;root&quot; /&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
name=&quot;password&quot; value=&quot;Newuser123&quot; /&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
name=&quot;schema&quot; value=&quot;mysql&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param
name=&quot;schemaObjectPrefix&quot; value=&quot;${wsp.name}_&quot;/&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/PersistenceManager&gt;<br>
&gt; <br>
&gt; Using this I successfully integrated Drools guvnor with same database
as <br>
&gt; I am using for OFBiz(MySql).<br>
&gt; <br>
&gt; Now I have created a new user in Drools guvnor to create permission
for <br>
&gt; that user, but I am not able to see<br>
&gt; where that username is stored in the database and in which entity
or <br>
&gt; table of MySql.<br>
&gt; <br>
&gt; Also if i want to use the users available in OFBiz MySql database
<br>
&gt; &nbsp;entity say 'Userlogin' where i am storing all the list of userlogins,
<br>
&gt; how can<br>
&gt; I retrieve the same and use this table data in drools Guvnor.<br>
<br>
This can be done via JAAS - you just need to configure it to use a <br>
particular table in mysql for retrieving user logins/passwords.<br>
Keep in mind that this is just for authentication (to login).<br>
Here's a list of all available login modules:<br>
http://www.jboss.org/community/wiki/LoginModule<br>
http://www.jboss.org/community/wiki/DatabaseServerLoginModule<br>
<br>
&gt; Also when <br>
&gt; I make a new user in Drools Govnor through<br>
&gt; administrator, my data of new user should go to &nbsp;table 'UserLogin'.<br>
<br>
AFAICT that's not possible and you need to synch your Guvnor user list
<br>
with the OFBiz user list by yourself.<br>
<br>
Cheers,<br>
 &nbsp;Jarek<br>
&gt; <br>
&gt; Please help me how this can be achieved in Drools Guvnor.<br>
&gt; <br>
&gt; Thanks &amp; Regards<br>
&gt; <br>
&gt; Pardeep Ruhil<br>
&gt; L&amp;T Infotech Ltd<br>
&gt; Mumbai<br>
&gt; Ph: +919820283884<br>
&gt; *<br>
&gt; Larsen &amp; Toubro Infotech Ltd.*_<br>
&gt; __www.Lntinfotech.com_ &lt;http://www.lntinfotech.com/&gt;<br>
&gt; <br>
&gt; This Document is classified as:<br>
&gt; <br>
&gt; L&amp;T Infotech Proprietary &nbsp; L&amp;T Infotech Confidential
&nbsp; L&amp;T Infotech <br>
&gt; Internal Use Only &nbsp; L&amp;T Infotech General Business &nbsp;<br>
&gt; <br>
&gt; This Email may contain confidential or privileged information for
the <br>
&gt; intended recipient (s) If you are not the intended recipient, please
do <br>
&gt; not use or disseminate the information, notify the sender and delete
it <br>
&gt; from your system.<br>
</font></tt>

<BR>
______________________________________________________________________<BR>