Thank you Taher.
On Jul 5, 2014 12:53 PM, Taher Alkhateeb <[email protected]> wrote: > > Hi Jacques, > > I missed your mail in the thread, so sure thing, most welcome! > > Hi Eric, > > LDAP is a subject of its own. You can start in here > http://www.zytrax.com/books/ldap/ > > I do not think triggers and database links are the best solution for > replicating the database. It is database dependent and I think an ugly hack. > You should figure out IMHO a clean solution at the application level, not the > database level otherwise we would all be programming in stored procedures and > using custom RDBMS code. > > Finally, you need to read on LDAP setup for both OFBiz and JForum. The setup > instructions for OFBiz are in > https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-SecuritySettings > > > Taher Alkhateeb > > ----- Original Message ----- > From: "Eric Halim" <[email protected]> > To: [email protected] > Sent: Saturday, July 5, 2014 6:48:57 AM > Subject: Re: OfBiz with JForum > > Hi Taher, > > Yes I'm newbie to Ofbiz still play around with Ofbiz. Thank you for your > suggestion to my issue. > > I understand second option need users data to be replicated to JForum > database. It is more straight forward because both are relational database. I > can use trigger and db link to replicate the users data. > > What about LDAP option? Does it mean all users data will be on LDAP? That > means when users register on Ofbiz then I must somehow replicate the users > into LDAP. Ofbiz and JForum will authenticated against LDAP then. Is that > correct? > > Thanks > > On Jul 5, 2014 7:54 AM, Taher Alkhateeb <[email protected]> wrote: > > > > Hi Eric, > > > > Assuming you want your users' data to reside on OFBiz, I think one of the > > below options might be suitable: > > - Authenticate everything through LDAP (I think simpler, cleaner, easier) > > - implement in JForum the interface net.jforum.sso.LoginAuthenticator > > either by creating a new class or actually modifying > > net.jforum.sso.DefaultLoginAuthenticator and make that class call a web > > service to OFBiz to authenticate against it. The details are for you to > > figure out, I'm just trying to help with the overall picture. Mind you > > though if you implement it this way I think you still need to replicate the > > users data in both systems. > > > > Given what you are trying to do is customization, there is no way of > > accomplishing this without digging into code in both applications. I gather > > from your questions below you are still somewhat new to OFBiz and this > > might pose a challenge. You might want to get much more familiar with the > > framework before going into advanced topics including things like > > integration with other systems. > > > > Cheers, > > > > Taher Alkhateeb > > > > ----- Original Message ----- > > From: "Eric Halim" <[email protected]> > > To: [email protected] > > Sent: Saturday, July 5, 2014 3:00:11 AM > > Subject: Re: OfBiz with JForum > > > > Thanks Taber. I got your point. I don't have problem running these 2 > > separately. Actually my issue is how to integrate their login. > > > > Once users register on Ofbiz, users are automatically become JForum users > > and can post a thread on JForum. And also once login into Ofbiz, I don't > > want users to login again for JForum. > > > > So I was thinking including JForum into Ofbiz component and use external > > login key feature to integrate the login. > > > > Now if these 2 are separate from each other. I hope someone can help me how > > to integrate the login issue. Is this called SSO? Or should I explore > > something on CAS and LDAP? Or maybe little trick like iFrame? > > > > Thanks > > > > On Jul 5, 2014 4:26 AM, Taher Alkhateeb <[email protected]> wrote: > > > > > > Hi Eric, > > > > > > I took another look into JForum as it interested me for our project. I > > > realized, however, that this is as you said not a library but a full > > > application stack. It has security, DAO, mail, file management, user > > > interface, internationalization and a lot more. > > > > > > Therefore, I think it should not be integrated with OFBiz given the huge > > > overlap in functionality. It is like saying let's integrate OFBiz with > > > Drupal or Joomla. It just doesn't make a lot of sense to me. If you are > > > not going to use OFBiz entities, OFBiz interface, OFBiz service engine > > > and indeed any of the core functions of OFBiz then why integrate in the > > > first place! > > > > > > I would suggest a lighter approach of having two separate systems fired > > > up independent of each other and if needed communicate between the two > > > systems through web services. > > > > > > Taher Alkhateeb > > > > > > ----- Original Message ----- > > > From: "Jacques Le Roux" <[email protected]> > > > To: [email protected] > > > Sent: Friday, July 4, 2014 10:13:24 PM > > > Subject: Re: OfBiz with JForum > > > > > > You could create a Jira issue, JForum is BSD licensed, so we would maybe > > > include it as an OFBiz specialpurpose component... If its quality is good > > > enough... > > > Ad said Mike we could also look at the ecommerce forum, would be another > > > issue then (with more than it does not work) > > > > > > Jacques > > > > > > Le 04/07/2014 17:29, Eric Halim a écrit : > > > > Hi, > > > > > > > > JForum does not come as library but a whole folder contains its own > > > > file structure. > > > > > > > > So I really don't know where to extract these JForum files in Ofbiz. > > > > > > > > As per now I run JForum on separate TomCat instance. Extracted on > > > > TomCat webapp folder. But I wonder how to deploy this JForum inside > > > > Ofbiz as Ofbiz component. > > > > > > > > Thanks. > > > > > > > > On Jul 4, 2014 5:44 PM, Taher Alkhateeb <[email protected]> > > > > wrote: > > > >> Hi Eric, > > > >> > > > >> Can you specify the difficulty you are facing? Adding libraries to > > > >> OFBiz > > > >> components is rather trivial. > > > >> > > > >> Taher Alkhateeb > > > >> On Jul 4, 2014 12:39 PM, "eric" <[email protected]> wrote: > > > >> > > > >>> Hi James, > > > >>> > > > >>> I still having difficulties how to deploy JForum as Ofbiz component. > > > >>> Can > > > >>> you > > > >>> guide me? > > > >>> > > > >>> What I have done for this moment is I have installed JForum but on > > > >>> separate > > > >>> Tomcat server not as Ofbiz component. > > > >>> > > > >>> Thanks > > > >>> > > > >>> > > > >>> > > > >>> -- > > > >>> View this message in context: > > > >>> http://ofbiz.135035.n4.nabble.com/OfBiz-with-JForum-tp4650890p4652217.html > > > >>> > > > >>> Sent from the OFBiz - User mailing list archive at Nabble.com. > > > >>> > > > > > > > > > > --
