...
To secure access to the Data Access Component or to individual webservices there are standards provided by the Servlet container. We will make use of these standards wherever and whenever required.
Installation
Here follows a list of applications that need to be installed in order to use the DAC:
Java
Download the latest stable release for the JRE (version 1.6.23 or higher).
Tomcat
Download the latest stable release for Tomcat (version 6.0.35 or higher).
Fews bin + region home
Install a Fews bin directory and Region Home directory as you would for an Operator Client. Make sure these directories are accessible from the Tomcat installation. In the Region Home directory copy the files 'clientConfig.xml' and 'log4j.properties' shown below. Change the values in marked in pink to match the values of your system.
clientConfig.xml:
_
Code Block |
---|
_
<?xml version="1.0" encoding="UTF-8"?>
<{color:#0000ff}clientConfiguration{color} xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/clientConfig.xsd">
<{color:#0000ff}databaseServer{color}>
{color:#008000}<\!---Keuze uit: postgresql, oracle of sqlserver \-->{color}
<{color:#0000ff}dbServerType{color}>{color:#ff00ff}postgresql{color}</{color:#0000ff}dbServerType{color}>
<{color:#0000ff}dbServerName{color}>{color:#ff00ff}db_serverhostname{color}</{color:#0000ff}dbServerName{color}>
<{color:#0000ff}dbServerPort{color}>{color:#ff00ff}db_oort{color} </{color:#0000ff}dbServerPort{color}>
<{color:#0000ff}dbInstanceName{color}>{color:#ff00ff}database name{color}</{color:#0000ff}dbInstanceName{color}>
<{color:#0000ff}dbInstanceUser{color}>{color:#ff00ff}user{color}</{color:#0000ff}dbInstanceUser{color}>
{color:#0000ff}<\!-\- <dbInstancePassword>clear text password</dbInstancePassword> \-->{color}
<{color:#0000ff}dbInstanceEncryptedPassword{color}>{color:#ff00ff}encrypted password{color}</{color:#0000ff}dbInstanceEncryptedPassword{color}>
</{color:#0000ff}databaseServer{color}>
</{color:#0000ff}clientConfiguration{color}>
_ |
_