• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Integrate JForum with Struts app.

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am newbie to JForum and currently working on integrating jForum with existing Struts application. I changed the DefaultLoginAuthenticator to point to the struts app's user table. Its able to validate the user, but after that I am hitting roadblocks to get the screens working.

I am getting lot of session errors and the question I have - is should I create entries of the users from struts app in jforum_user tables also and also register them ? Is there anyway I get the users from the struts app. use Jforum without registering again.

Env - JBOSS 4.0, mysql 4.1
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hm.. short answer: no, you can't.

long answer: maybe. JForum expects to have its users in jforum_users. This is necessary because of the many relationships and data used by jforum.

So, if you want to use a single table, you'll need to edit all sql queries to point to your table, and ensure it has the fields expected by JForum.

What you can do is disable registration of new users in JForum, enforcing then users to use your own registration mechanism, and then you create the necessary entries in jforum_users' table

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm looking for a Java-based forum package for a project and I just wanted to mention that easy integration is a very large plus. Perhaps the developers could bump this up a couple of notches on their priority list. A good example of a very integration-friendly library is the Acegi Security.

Regards,

DG


http://acegisecurity.sourceforge.net/
http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAuthentication
[originally posted on jforum.net by Anonymous]
 
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic