O'Reilly logo

Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions by Budi Kurniawan

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

Chapter 14. Security Configuration

Security Configuration

In the previous chapters, you learned how to implement a Login page using both servlets and JSP to restrict access to a certain resource.The common practice is to write code that takes a user’s name and password and matches them against those stored in a database.

Although this practice is great, there is another approach to securing your application that does not require you to write a single line of code. Instead, you configure the deployment descriptor of the web application you want to secure.

This chapter discusses the security configuration in the deployment descriptor and introduces you to various methods ...

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