How to use the ALLOW-FROM
X-Frame-Option.
Procedure
-
Stop your Talend Data Preparation
instance and its corresponding services, as well as the Talend Identity and Access Management
service.
-
Open the
<Data_Preparation_Path>/config/application.properties
file and set the
X-Frame-Options
parameter to
http://<hostname>
, with <hostname>
corresponding to the server hostname from which you would want to allow
access.
-
Open the <IAM_Path>/tomcat/conf/web.xml file and set
the
antiClickJackingOption
parameter to ALLOW-FROM
http://<hostname>
, with <hostname>
corresponding to the server hostname from which you would want to allow
access.
The <hostname>
value must be the same in both
configuration files.
-
Restart your Talend Data Preparation
instance and its corresponding services, as well as the Talend Identity and Access Management
service.
Results
You can now open the
Talend Data Preparation
application from the desired i-frame.