• 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

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
No thanks. We have all the government we need. This tiny ad would like you to leave now:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic