O'Reilly logo

GlassFish Security by Masoud Kalali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sharing security context between different applications using SSO

The most basic task of single sign-on is saving users from entering their username and passwords when there are different applications which are related. GlassFish supports SSO between web applications deployed in the same virtual server. When we enable SSO for a virtual server, any user authenticated in one of the applications deployed in that server will stay authenticated for all applications deployed in the same virtual server. There are only two conditions that our server-side applications and the client must have to use this SSO capability:

  • The applications deployed in the same virtual host must use the same security realm, same value for the realm-name of web.xml, to make ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required