This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add JForum to our site.

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

We have a small site and would love to add JForum to our website.

I have a few questions.

Currently we maintain the users in a database and want to have only one login.

I read thru your SSO options but still not clear. It seems simple we just write a cookie with user/pass out. Am I missing something?

Cookie cookie = new Cookie("JforumSSO", user.getUsername());
cookie.setMaxAge(-1) // session cookie, or set to positive number.
response.addCookie( cookie );

I have two questions:

1. how do I link jforum to one of the menu options?? Do we just redirect to a http: where the tomcat server is hosting jforum?

2. If we create the user when a new user is create on our site. How do we write into Jforums tables?

I tested with this http://www.jforum.net/install.jsp
and took the HSQLDB option and it runs great.


Any examples full would really help.

Thanks
Phil



[originally posted on jforum.net by fairway]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic