Assemble secured applications

Assembly is the process of packaging an application for installation (deployment) into the application server run time. As part of preparing a secured application for deployment, you specify various security settings in the deployment descriptors for your WAR or EAR file.

To assemble your secured application, perform these steps:

  1. Edit the web.xml file to add security settings.

  2. (Optional) Add the was.policy file to applications for Java 2 Security.

  3. Export your application as a WAR or EAR file.

After you secure an application, the resulting WAR or EAR file contains security information in its deployment descriptors.

Here are the WAR file deployment descriptors that contain security settings:

An application EAR file contains the following deployment descriptors, in addition to the deployment descriptors for the WAR file: