...
The installation process is divided into various steps:
Step 1 | Rename and deploy the .WAR file on your application server |
---|---|
Step 2 | Configure your deployed .WAR file |
Step 3 | Install the license key |
Step 4 | Restart Tomcat and test connection |
Step 5 | Configure user authentication |
Step 6 | First login and become admin - ≥ 2.1 only |
Step 7 | Configure roles |
Step 78 | Generate snapshot data |
Step 89 | Configure data authorization |
...
Expand | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Modify application.properties to define connection to CSS/PostgreSQL for AIP schemas When the .WAR has been deployed you now need to configure the application.properties file to tell the web application on which CAST Storage Service/PostgreSQL instance the Dashboard schemas are stored. This file is located here:
Locate the following section in the file:
If all your Dashboard schemas are located on one single CAST Storage Service/PostgreSQL instance then you need to modify the
If your Dashboard schemas are located on multiple CAST Storage Services/PostgreSQL instances, you need to add in the additional servers as shown in the example below:
Save the file before proceeding.
Modify domains.properties You now need to configure the domains.properties file which provides a link between the CAST Storage Services/PostgreSQL instances defined in the application.properties file and the Dashboard schemas containing the relevant snapshot data. This file is located here:
This file is delivered empty as shown below:
For each Dashboard schema that you need to display in the CAST Engineering Dashboard, add one line to the file ensuring that there are no empty lines:
For example, for one single Dashboard schema called "MEUDON_CENTRAL" stored in the CAST Storage Service/PostgreSQL instance defined in Resource1 in the application.properties file, add the following:
For multiple Dashboard schemas where all schemas are located in the same CAST Storage Service/PostgreSQL instance defined in Resource1 in the application.properties, add the following:
For multiple Dashboard schemas where the schemas are located on different CAST Storage Services/PostgreSQL instances (Resource1 and Resource2) as defined in the application.properties file, add the following:
Save the file before proceeding. |
...
As explained in Dashboard Service license key configuration, when you want to access a Dashboard schema using the CAST RestAPI (i.e. via the Security Dashboard, or via the CAST Report Generator), a special license key is required. This license key grants specific access to one or multiple Dashboard schemas for the web application in which it is installed (i.e. the Security Dashboard or the CAST RestAPI).
You must therefore install the license key and, if you are using a restricted license key, define data access authorization. These two steps are explained in Dashboard Service license key configuration in the sections How do I install a license key? and How to authorize users when using a RESTRICTED license key.
...
Restart Tomcat
Before proceeding, ensure you restart your application server so that the configuration changes you made are taken into account.
Test access to the Security Dashboard
You can now access the Security Dashboard using the URL:
Code Block |
---|
http://<server_name>:[<port_number>]/<name-of_deployed_war> |
You should see the login page as follows - this indicates that the initial setup was successful:
Info |
---|
Error messages are documented in Error Messages. |
...
Modify application.properties to define connection to CSS/PostgreSQL for the roles/permissions schema - ≥ 2.1 only In ≥ 2.1 only, an interface exists to manage User roles - 2.x and above and Data authorization - 2.x and above - this interface stores all its records in a dedicated schema on a CAST Storage Service/PostgreSQL instance. This instance does not need to be the same as used for your AIP schemas (Dashboard/Measure schemas), however, the required schema is small and therefore CAST recommends using an existing CAST Storage Service/PostgreSQL instance to host it. The schema is created automatically when you start up your Dashboard deployment if it does not already exist. The application.properties file contains a section dedicated to this schema - this file is located here:
Locate the following section in the file:
Change the line
Save the file before proceeding. This will ensure that a schema called "cast_dashboards" is created on the target CAST Storage Service/PostgreSQL instance when you start the web application. |
Anchor | ||||
---|---|---|---|---|
|
As explained in Dashboard Service license key configuration, when you want to access a Dashboard schema using the CAST RestAPI (i.e. via the Security Dashboard, or via the CAST Report Generator), a special license key is required. This license key grants specific access to one or multiple Dashboard schemas for the web application in which it is installed (i.e. the Security Dashboard or the CAST RestAPI).
You must therefore install the license key and, if you are using a restricted license key, define data access authorization. These two steps are explained in Dashboard Service license key configuration in the sections How do I install a license key? and How to authorize users when using a RESTRICTED license key.
Anchor | ||||
---|---|---|---|---|
|
Restart Tomcat
Before proceeding, ensure you restart your application server so that the configuration changes you made are taken into account.
Test access to the Security Dashboard
You can now access the Security Dashboard using the URL:
Code Block |
---|
http://<server_name>:[<port_number>]/<name-of_deployed_war> |
You should see the login page as follows - this indicates that the initial setup was successful:
Info |
---|
Error messages are documented in Error Messages. |
Anchor | ||||
---|---|---|---|---|
|
This step involves configuring how your users will authenticate with the CAST Security Dashboard. Most organizations opt for LDAP/Active Directory integration so that users can use their corporate username/password to access the resources they need. The Security Dashboard also has a built in username/password authentication mechanism which is enabled "out of the box". See User authentication.
Anchor | ||||
---|---|---|---|---|
|
By default, the CAST Dashboard requires that at least one user is granted the ADMIN role following the first login after the User authentication configuration. This ensures that one user can access all data and cofiguration settings. See First login and become admin. This step is not required when using Dashboards 1.x and can be skipped.
Anchor | ||||
---|---|---|---|---|
|
...
7 - Configure roles
This step involves configuring roles for users and groups that are accessing the CAST Security Dashboard. See User roles.
Anchor | ||||
---|---|---|---|---|
|
...
8 - Generate snapshot data
Before your users can "consume" data via the CAST Security Dashboard, you need to generate snapshot data.
Anchor | ||||
---|---|---|---|---|
|
...
9 - Configure data authorization
An Authorization defines permission to access and "consume the data" in a specific Application or group of Applications via the CAST Security Dashboard. If permission is not granted, or a "restriction" is used, then any information related to this Application will be not accessible: application properties such as name, technologies or grades and measures, etc. Therefore, an Authorization must be defined before a user/group of users can access a specific application. See Data authorization.
...