Hello,
I am implementing a new web application using JAAS for the user authentication.
I have one Apache web server with activated load balancer and 3 tomcat servers.
I am interested inHazelcast as a session manager.
So I installed Hazelcast IDMG and I am using it in a client server configuration.
I thought that it would be easy to do but I am facing some issues:
1- There is a tomcat object "SavedRequest" which is not serializable, so when I try to reload the start page I am getting an error. (I fixed it)
2- When the user is authenticated (JAAS authenticator), a Principal object is created. However I am not able to replicate it into the Hazelcast session. This object is not Serializable too. (I also fixed it)
3- I am currently trying to use Hazelcast on non sticky-session. I am also facing issues: sometimes the session is cleared, etc.
So may I ask you if I am using the Hazelcast session management the right way?Should I stop using JAAS? Principal object? etc
Are there any recommandations ? (Spring, spring security ?)
what about the non sticky-session? Should I do specific stuff to manage it?
Best regards
Karim SLAIMI