Single Sign-on across Tomcat servers without clustering -
we have several tomcat servers serving content single domain (via apache httpd front end.) balance memory usage on 1 of our servlets. is, each server provides same web application, different data set. we'd implement single sign-on on our website.
in other words, have httpd configured visitor http://example.com/reports/a/ goes reports.war on tomcat server a, while http://example.com/reports/b/ goes reports.war on tomcat server b. each url separate report, , can't fit both reports in ram on single server.
as understand it, can't use tomcat clustering because that's designed server replication, i.e. identical servers identical data. i've looked session sharing via tomcat's persistentmanager , jdbc store, appears designed caching sessions, rather sharing them.
am missing something, or going require fair amount of custom coding? (i'm willing try open source servlet container, such jboss or glassfish, if have built in.)
as on same domain use cookie approach, , set sso flag or similar attributes cookie on first webapp on successful login, , read them in other web app.
Comments
Post a Comment