• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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]
 
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic