aspose file tools
The moose likes JForum and the fly likes integration with existing portal Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JForum
Reply Bookmark "integration with existing portal" Watch "integration with existing portal" New topic
Author

integration with existing portal

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
hello;
i wish to intergrate jforum inside an exsiting JSF based portal. i have my own user management and i rely on webapplication security to enforce permissions.
i want to incorporate jforum such that user management (registration) remains the same and limit access to the forum to users only. i dont want users to register to jforum and my site seperatly.
what should i do?
thanks.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Im wanting to do similar thing. I think it would be very good if jforum used container managed authentication. It would make it easy to use either the existing jforum user table or an external authentication source. It would make integration with other web apps that also use container managed authentication much easier, and also single sign on.
[originally posted on jforum.net by campers]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi Anonymous,

I have made some very minor mods to jforum that allow it to be used with with your own user management, provided you use standard J2EE container managed authentication. Im using tomcat's Single Sign On valve to have SSO between my main application and jforum.

Its currently just a quick fix for my needs, so if you would like the code, then private message or email me. When I have some more time again soon I will look into integrating it properly into jforum.
[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Oops, that post above was by me.
[originally posted on jforum.net by campers]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Can you post the modifications you made here.
(maybe attach the change or something).

I tried looking into the JForum code, and it seems that I could have the
JForum.checkCookies(...) take a HttpServletRequest, and then check the
getRemoteUser (if the cookie did not exist). But I don't know what other
things I'd have to do (I'm not really familiar with the code at all).

I also want to integrate jforum with my other webapps, and leverage
Tomcat's single sign-on (so that users do not have to log in twice).

Thanks.


[originally posted on jforum.net by Anonymous]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
JForum 2.1.5 has support for SSO. Take a look here:

http://www.jforum.net/confluence/display/sso/Home

However, to this date, 2.1.5 is still under development. You can get it from the CVS.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: integration with existing portal
 
Similar Threads
how do you check if the user is logged in or not
Caching issue
SSO with JForum
how to delegate user management to jForum
how to allow only admin to create new users?