BIEE嵌入web

<!doctype html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <meta name="Generator" content="EditPlus®">
  <meta name="Author" content="">
  <meta name="Keywords" content="">
  <meta name="Description" content="">
  <title>Document</title>
 </head>
 <body>
<iframe  width="900" height="600"  src="http://win:7001/analytics/saw.dll?Answers&SubjectArea=%22Sample%20Sales%20Lite%22"></iframe> 
 </body>
</html>

 

下面转自

https://blog.csdn.net/biplusplus/article/details/8437612

 

修改

修改MV_HOME/instances/instance1/config/OracleBIPresentationServicesComponent/coreapplication_obips1目录下的instanceconfig.xml

在Security标签内加入<InIFrameRenderingMode>allow</InIFrameRenderingMode>

如下图所示:

<Security>

<InIFrameRenderingMode>allow</InIFrameRenderingMode>

<!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control-->

<ClientSessionExpireMinutes>30</ClientSessionExpireMinutes>

</Security>

 

注:InIFrameRenderingMode有三种取值,分别是prohibit、sameDomainOnly、allow  大家可以根据自己的实际需要选择对应的值

详情请参阅B.1.1 Protecting Pages in Oracle BI EE from Attack

 

修改MV_HOME/Oracle_BI1/bifoundation/web/app/WEB-INF 目录下的web.xml

添加如下内容:

<context-param>
  <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
  <param-value>never</param-value>
</context-param>

 

 

最终如下图所示:


    <servlet-mapping>

    <servlet-name>RelatedContent</servlet-name>

    <url-pattern>/RelatedContent</url-pattern>

    </servlet-mapping>

    <context-param>

    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>

    <param-value>never</param-value>

    </context-param>

    <login-config>

    <auth-method>CLIENT-CERT</auth-method>

    </login-config>


 

修改完之后重启BI服务即可,如果还不行,请清除浏览器缓存。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值