This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JForum and the fly likes Add JForum to our site. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "Add JForum to our site." Watch "Add JForum to our site." New topic
Author

Add JForum to our site.

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add JForum to our site.
 
Similar Threads
scjp pattern
Reg Manual Creation of new Topics -
Configuration troubles
Using JForum SSO - a kludger's tale
How to add a user to a particular group in SSO mode?