< : EngineElement>

Description

Indicate the creation of the engine ear

Parameters

Attribute Description Type Required?
secured If set to true, this application module declares a security constraint so that only the specified j2ee role can access the application. Use this option if you want to leverage the authentication mechanism of your container (e.g. WebLogic) and Single-Sign-On configurations. See also attributes rolename and webresourcename. boolean No Defaults to the value of secured defined in the enclosing <buildear> task.
rolename String ?
webresourcename Descriptive name for the web resources of this module. Used in <web-resource-name> tag in web.xml deployment descriptor. String No Defaults to the value of webresourcename defined in the enclosing <buildear> task.

Parameters accepted as nested elements

<loginconfig> ...

Use this element to specify the login configuration for a web application module. Used for <login-config> tag in web.xml deployment descriptors.

You can define <loginconfig> individually for each application module. When this element is specified as a direct child of <buildear>, it becomes the default for the nested application modules.

Attribute Description Type Required

<principals> ...

Use this element to specify one or more Principals to map the security role on WebLogic. If you don't specify <principals>, you must deploy the application using the Advanced security model and do the Role-to-Principals mapping using the Weblogic Administration console.

When buildling a secured application, the security role must be mapped to a Principal in the application server.

You can define <principals> individually for each application module. When this element is specified as a direct child of <buildear>, it becomes the default for the nested application modules.

Attribute Description Type Required