Chapter 30. Securing Web Applications

Web applications contain resources that can be accessed by many users. These resources often traverse unprotected, open networks, such as the Internet. In such an environment, a substantial number of web applications will require some type of security.

The ways to implement security for Java EE applications are discussed in a general way in Securing Containers (page 910). This chapter provides more detail and a few examples that explore these security services as they relate to web components. Java EE security services can be implemented for web applications in the following ways:

  • Metadata annotations (or simply, annotations) are used to specify information about security within a class file. When the application ...

Get The Java™ EE 5 Tutorial, Third Edition: For Sun Java System Application Server Platform Edition 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.