aspose file tools
The moose likes JForum and the fly likes Single sign on (SSO) of a web site application and jforum Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JForum
Reply Bookmark "Single sign on (SSO) of a web site application and jforum" Watch "Single sign on (SSO) of a web site application and jforum" New topic
Author

Single sign on (SSO) of a web site application and jforum

mike lan
Greenhorn

Joined: Oct 14, 2010
Posts: 7
Hello everyone

I need to integrate jforum into a web application (that uses a login thru jdbc realm configured on server.xml), so that login into the web application makes it also logged in the jforum application

grateful for giving steps of how to proceed

thanks
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Where do you see the difference between "the web application" and "the jforum application"? JForum is just a servlet and a few servlet filters - it can be part of any web app you already have. JForum does its own thing about users, though - it keeps that information in its own DB table. So you should configure the JDBC realm to access that user table.
mike lan
Greenhorn

Joined: Oct 14, 2010
Posts: 7
Lester Burnham wrote:Where do you see the difference between "the web application" and "the jforum application"? JForum is just a servlet and a few servlet filters - it can be part of any web app you already have. JForum does its own thing about users, though - it keeps that information in its own DB table. So you should configure the JDBC realm to access that user table.


thanks replying,
that rises another question
how do i embed a web application into another? mainly the Web-inf folder with web.xml files and lib.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
You can't embed one in the other - you'd merge them, especially the contents of the respective web.xml files, and of course the two directory hierarchies.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14464
    
    7

What you actually need to do us use a Tomcat realm that supports SSO and bind it to each of the webapps that need to participate in an SSO environment. There are several SSO realm modules available, although at last count, I don't think any of them actually ship as part of Tomcat itself. The Yale CAS system is a popular one.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Single sign on (SSO) of a web site application and jforum
 
Similar Threads
Trouble Installing JForum on VPS
Using JForum with LDAP
Using JForum as a Backend service
Single sign on (SSO) of a web site application and jforum
Migrating application users to JForum