Skip to main content

Sharing security Context over multiple glassfish Servers

No replies
Joined: 2004-03-04


- My application is distributed in multiple components (Web Applications).
- The components are deployed on different glassfish servers.
- Each Glassfish server is running on a different host.

I'm using the provided Security Realm for authentication.

Is there a way, that a user that is already authenticated on server x, doesn't need to authenticate again on server y (single-sign-on)?

I was looking into session replication. But if I understand clustering correctly, this means I would have to deploy the applications to the whole cluster (each instance). What I need is a physically distributed solution.

My reason for this setup is not load balancing or high availibility. This is a customer demand.

Any ideas? Thanks!