O'Reilly logo

Java EE 6 Development with NetBeans 7 by David R. Heffelfinger

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

Securing web applications

It is a common requirement to only allow certain users to access certain pages in a web application. Before a web application can be secured, a security realm needs to be set up in the application server where the application will be deployed. Security realms are essentially collections of users and security groups.

Each security realm allows the application server to obtain security information from some sort of permanent storage. This security information could be stored in a simple flat file, a relational database, an LDAP repository, or any other kind of persistent storage. Configuring the application server to obtain the security information from any kind of persistent storage allows us as application developers ...

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