1
  • 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 or workarounds? Thanks!

Matthias
  • 313
  • 1
  • 8

1 Answers1

0

This is an area where products like Oracle Access Manager come in for single-sign-on across multiple services. Oracle GlassFish Server (commercial product that includes GlassFish Server Control features) has a JSR 196 JAAS Provider for Oracle Access Manager. Check out the How-To document on setting it up.

Hope this helps.

John Clingan
  • 3,324
  • 21
  • 13