Web-Tier Security

Security in a Web application is configured in the Web application deployment descriptor using deploytool. When the settings are entered in deploytool, they are saved to the deployment descriptor contained in the WAR. To view the generated deployment descriptor, choose Descriptor Viewer from deploytool's Tools menu. For more information on deployment descriptors, see Chapter 3.

After a WAR is created, select the Security tabbed pane to configure its security elements. See Setting Security Requirements Using deploytool (page 1095) for more information on using deploytool to accomplish these tasks:

  • User authentication method: The User Authentication Method box on the Security tab of deploytool enables you to specify how the user ...

Get The J2EE™ Tutorial Second Edition 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.