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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
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: 16145
    
  21

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://aspose.com/file-tools
 
subject: Single sign on (SSO) of a web site application and jforum