Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

integration with existing portal

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops, that post above was by me.
[originally posted on jforum.net by campers]
 
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
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic