Single sign on (SSO) of a web site application and jforum
mike lan
Greenhorn
Joined: Oct 14, 2010
Posts: 7
posted
0
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
posted
0
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
posted
0
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
posted
0
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.
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