54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Assemble secured applications</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h2><a name="secassem"></a>Assemble secured applications</h2>
|
|
|
|
<p>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.</p>
|
|
|
|
<p>To assemble your secured application, perform these steps:</p>
|
|
|
|
<ol>
|
|
<li><p><a href="secaweb.htm">Edit the web.xml file to add security settings</a>.</p></li>
|
|
|
|
<li><p>(Optional) <a href="secaddwp.htm">Add the was.policy file to applications for Java 2 Security</a>.</p></li>
|
|
|
|
<li><p>Export your application as a WAR or EAR file.</p></li>
|
|
</ol>
|
|
|
|
|
|
<p>After you secure an application, the resulting WAR or EAR file contains security information in its deployment descriptors.</p>
|
|
|
|
<p>Here are the WAR file deployment descriptors that contain security settings:</p>
|
|
|
|
<ul>
|
|
<li><p><strong>web.xml</strong>
|
|
<br>Deployment descriptor for the Web module, including security information.</p></li>
|
|
|
|
<li><p><strong>was.policy</strong>
|
|
<br>Contains the Java 2 Security permissions that are granted for the application to access secured system resources.</p></li>
|
|
</ul>
|
|
|
|
<p>An application EAR file contains the following deployment descriptors, in addition to the deployment descriptors for the WAR file:</p>
|
|
|
|
<ul>
|
|
<li><p><strong>application.xml</strong>
|
|
<br>Contains all of the roles that are used in the application.</p></li>
|
|
|
|
<li><p><strong>ibm-application-ext.xmi</strong>
|
|
<br>Contains roles mapping for users and groups.</p></li>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|
|
|