-
1. Re: Jboss clustering + JAAS principal issues on failover
sureshrk19 May 21, 2009 9:35 AM (in response to sureshrk19)Please ignore this...
I was wrong with my analysis. seems spring + dwr layer is not problematic.
Anyway, I still have the problem unresolved... will post the details, once I get the fail-over working fine. -
2. Re: Jboss clustering + JAAS principal issues on failover
sureshrk19 May 21, 2009 9:42 AM (in response to sureshrk19)Further debugging, I found the issue is related to JAAS authentication at the application level.
On failover the user principal is reset to null on second node hence, I can;t access the secured resources.
My expectation is as I logged into application on node1 (user principal is set correctly)... the same principal should be replicated on node2.
Any pointers would be highly appreciated.
Thansk,
Suresh -
3. Re: Jboss clustering + JAAS principal issues on failover
sureshrk19 May 21, 2009 11:06 AM (in response to sureshrk19)Fixed it.
Enabling "ClusteredSingleSign" did the trick.
Enabling this replicating the principal on second node correctly.
Thanks,
Suresh -
4. Re: Jboss clustering + JAAS principal issues on failover
brian.stansberry Jun 2, 2009 6:34 PM (in response to sureshrk19)Yep. The principal is not stored in the session, so replicating the session doesn't propagate it around the cluster. Using ClusteredSingleSignOn works around the problem.