|Summary:||Cluster Support for SingleSignOn|
|Product:||Tomcat 7||Reporter:||Brian Stansberry <bstansberry>|
|Component:||Cluster||Assignee:||Tomcat Developers Mailing List <dev>|
SSOClusterManager implementation for JBoss
Description Brian Stansberry 2004-03-30 06:39:57 UTC
The attached patch is a first step aimed at enabling TC's SingleSignOn function to work across a cluster. It includes the following: 1) Interface SSOClusterManager, which should be implemented by a class that provides SSO support across a cluster. 2) Changes to SingleSignOn (and related classes) to add an MBean attribute for specifying an implementation of SSOClusterManager to use. If an SSOClusterManager is set, invokes it when changes are made to the SSO entries on the local cluster node or if the cluster needs to be queried for a non- local SSO. 3) An abstract base implementation of SSOClusterManager that concrete subclasses can build upon. FYI, I have also attached a concrete implementation, a JBossSSOClusterManager. It uses the JBoss TreeCache to communicate SSO changes across the cluster. I've tested this in the JBoss/Tomcat integration. I know you can't use TreeCache in TC because of license issues, but thought you might be interested in a concrete implementation. Sorry, I haven't had a chance to look into how Tomcat's own cluster communication works. If you're interested in this patch I can look into what it would take to implement a TC-only version.
Comment 1 Brian Stansberry 2004-03-30 06:41:29 UTC
Created attachment 11041 [details] proposed patch
Comment 2 Brian Stansberry 2004-03-30 06:42:40 UTC
Created attachment 11042 [details] SSOClusterManager implementation for JBoss
Comment 3 Remy Maucherat 2004-04-26 22:00:33 UTC
I had started reworking the code, but you were faster. So now I think only an extended valve is needed, but it will obviously go in the JBoss repository.
Comment 4 Filip Hanik 2004-04-27 15:15:47 UTC
I can add it to my todo list, this should be very simple to implement into Tomcat clustering as well. I'm not biased like Remy ;-) to put it into JBoss, he he he
Comment 5 Yoav Shapira 2004-12-08 21:25:51 UTC
Ping to Filip: still feel like to doing this one?
Comment 6 Filip Hanik 2004-12-08 21:36:16 UTC
I just added it to the todo list, but no I have no timeframe mind of when this could be reality
Comment 7 Mark Thomas 2011-12-20 20:31:46 UTC
This Tomcat 5 enhancement request has been moved to Tomcat 7 (the latest version) since Tomcat 5 development is limited and focussed on bugs and security issues whereas Tomcat 7 is still seeing new feature development.