-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi guys,
in my zul page I use zkpring taglib in order to use if="${!sec:isAnyGranted('ROLE_USER')}.
The problem arise because the application is marked as <dsitributable/> and ZK tries to serialize the SecurityUtil object behind the taglib, while SecurityUtil not implements java.io.Serializable.
In this way the session is not replicated correctly and when the load balancer switches the user to the other node, the session is not available.
Any help will be really appreciated.
Thanks in advance, Carlo
Hello Charlie354,
Please find below some additional information that my help you resolve the issue:
http://books.zkoss.org/wiki/ZKDeveloper'sReference/Clustering/ProgrammingTips#.23ClusteringListeners
http://books.zkoss.org/wiki/ZKDeveloper'sReference/Clustering/ZK_Configuration
Best Regards,
Darksu
Asked: 2015-09-15 10:03:09 +0800
Seen: 31 times
Last updated: Sep 20 '15
Zk + Spring Security redirect to strange page after login
ZK Spring webflow and flowScope
Spring security doesn't return user inside event listener
ZK Spring 3.1.1 MVVM Use @Scope/@Component or No?
Upgrading from Spring3.1 to 3.1.1 Maven.. pulls in 3.0.x jars... issues
When would I want to use ThreadLocalListener?
ZKoss with springsecurity using database
can you post the exception stack trace?
hawk ( 2015-09-18 03:20:34 +0800 )edit