Using EnterpriseOne ADF Container Build Script to Update the e1adf.ini Settings
The build script uses the wldeploy task to deploy artifacts to server instances or clusters on a Weblogic server.
See Using EnterpriseOne ADF Build Script to Deploy the EnterpriseOne ADF Artifacts and Using EnterpriseOne ADF Application Build Script to Build the EnterpriseOne ADF Applications Libraryfor more information.
Build Directories and Contents
Prior to executing the Ant script to create or update the e1adf.ini values, the build location needs to include the following files:
Name |
Type |
---|---|
AntBuildScripts/E1 ADF Container/build.xml |
XML Ant Script File |
AntBuildScripts/E1 ADF Container/build.properties |
PROPERTIES File |
AntBuildScripts/E1 ADF Container/JDEADFContainer.ear |
EAR File |
build.properties file
Before the JDEADFContainer.ear file can be deployed, the e1adf.ini file needs to be configured so the web application can communicate with the EnterpriseOne JAS. An Ant script is used to update the following values in the e1adf.ini file:
e1adf.ini Property |
Ant Script Property |
Description |
---|---|---|
aisServer |
ais.server |
The URL of the AIS server used to populate data in the ADF applications. Usually this AIS server is configured to point to the same JAS server where Simplified UI is configured. Use the URL you kept track of from section 2.2 for this property. |
deviceName |
device.name |
The device name sent with every request to the AIS Server (AIS requires it). |
jasWhitelist |
jas.whitelist |
Comma-delimited list of JAS URLs that are allowed to imbed this EnterpriseOne ADF Container when Simplified User Interface is configured on the JAS server. The whitelist needs a comma-delimited list of server URLs for JAS. The server URL should be of the form <Protocol>://<IP Address/Fully Qualified Domain Name>:<Port>. The IP Address/Fully Qualified Domain Name value depends on how the server has been set up and what URL the client (browser) sees as the server's origin. There is no penalty for an incorrect value being part of the whitelist, as long as the correct value is also present. |
injectIframeBustingHeaders |
inject.framebusting.headers |
When set to true Content Security Policy (CSP) headers are included on every response from the ADF server, false indicates no CSP headers are added. The recommended setting is True. |
sessionTimeout |
session.timeout |
The amount of time the E1 ADF Container session stays alive while the user is not interacting with it, expected in milliseconds - recommended to be longer than E1 HTML Server. Be sure to define the EnterpriseOne ADF Container session timeout following this guideline: EnterpriseOne HTML server session timeout < EnterpriseOne ADF Container session timeout < AIS server session timeout |
sessionTimeToLive |
sessionTimeToLive |
The maximum amount of time a user's E1 ADF Container session is allowed to be retained. Even if the user is continually interacting with the application, the session will time out after this amount of time. The default value is 24 hours. The maximum value is 24 hours. Be sure to define the EnterpriseOne ADF Container session time to live following this guideline: EnterpriseOne ADF Container token time to live = AIS server session time to live(Release 9.2.0.5) |
accessManagerEnabled |
access.manager.enabled |
Setting to enable/disable OAM use for ADF container access. Value should be true or false. (Release 9.2.0.2) |
accessManagerServer |
access.manager.server |
The URL of the OHS gateway to access ADF applications in the container when OAM is enabled. Requests to ADF container via any other URLs will be blocked. If OAM is disabled, this value will be disregarded. (Release 9.2.0.2) |
You need to update the build.properties file for each of the Ant Script Property entries listed in Table 2.