my dog learned polymorphism*
The moose likes JForum and the fly likes Single JForum for multiple organisations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Single JForum for multiple organisations" Watch "Single JForum for multiple organisations" New topic
Author

Single JForum for multiple organisations

Sub Gowda
Greenhorn

Joined: Sep 23, 2012
Posts: 10
Hello,

I want to create a forum for my University. I have some requirements and I wanted to know if I could use JForum for it. I know it is a long post, but please do help me out.

1. There should be one forum software / one database.
2. The forum should be divided into 4 parts
- Electrical Engineering
- Computer Science Engineering
- Applied Science
- Arts
3. There should be one super admin
- This super admin will create the part admins and have access to all users and topics
4. There should be admins for each of the part called part admin
- This part admin will be responsible for only his part of the forum
- This includes the creation of new users, deleting users and all forum functionality within his part.
5. An admin and members of one part must not see/access the other parts forum
- Example: an arts admin cannot create a new user in Applied science, this admin can create only users and topics in arts part.
- Example: an arts student can post/reply/answer any thread only in the arts part and in no other part.
6. There should be a control panel for each part admin, but limited to only his part.
7. There should a single sign on i.e. When the student logs into the university website, he should be automatically logged into the forum as well.


thanks,
Sub
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

Sub,
You would have to write custom code to extend JForum, but yes, you could do it. It would be easier to have multiple JFOrum instances though.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Sub Gowda
Greenhorn

Joined: Sep 23, 2012
Posts: 10
Thanks Jeanne, I think I will do multiple instances of Jforum. I will have to write one code in which if the SuperAdmin changes his/her password, it should be reflected in all the forums.

Do you guys have anything on Single Sign On? I want the users who are logged into my website to be automatically logged into the forum as well.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

Sub Gowda wrote:Thanks Jeanne, I think I will do multiple instances of Jforum. I will have to write one code in which if the SuperAdmin changes his/her password, it should be reflected in all the forums.

Yes, you could write something so that the a change to the admin account password triggers a script that changes it in the other database.

Sub Gowda wrote:Do you guys have anything on Single Sign On? I want the users who are logged into my website to be automatically logged into the forum as well.

There's some SSO code in JForum. We haven't used it here.
Sub Gowda
Greenhorn

Joined: Sep 23, 2012
Posts: 10
Thanks for your help
Sub Gowda
Greenhorn

Joined: Sep 23, 2012
Posts: 10
Hello Jeanne,

I was going through the forum and I found a thread on JForum integration. (http://www.coderanch.com/t/578824/jforum/integrate-jforum-project-eclipse)
I was wondering how to Place the jar inside the project and use the binary. I am thinking you mean, Use JForum as a library in my Web Application?? If so I would really appreciate you shedding some light on how to accomplish that with Eclipse?

On a different perspective
I have a web application in one server and I need to deploy jforum into another server, with its own tomcat and mysql. I would like to implement sso as part of my application. So should I pass on the login credentials to jforum. or is it possible to use Jforum's SSO with my webapp.

thanks,
Sub
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

Sub Gowda wrote: I am thinking you mean, Use JForum as a library in my Web Application??

THere are two ways. One is to use JForum as a .war file inside an .ear file. Another is to copy the jar and standalone files (html etc) into your web application.

Sub Gowda wrote:I have a web application in one server and I need to deploy jforum into another server, with its own tomcat and mysql. I would like to implement sso as part of my application. So should I pass on the login credentials to jforum. or is it possible to use Jforum's SSO with my webapp.

I haven't used SSO in JForum. I recommend starting a new thread for this question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Single JForum for multiple organisations