Oracle BIEE 11G 嵌入Iframe

在做BIEE与其它系统集成的时候,经常需要把BIEE的页面用Iframe嵌入其它系统中(比如业务系统)

默认情况下,出于安全的考虑(clickjacking),BIEE 11g是不能直接嵌入iframe中的,

会提示“OBIEE content can not be displayed in the IFrame”

    
已Windows server 2003 系统为例:

如果有这方面的需要,我们需要进行如下配置:

 \bihome\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1目录下的instanceconfig.xml配置文件

在Security标签内加入allow

如下所示:

 

<Security> 
<InIFrameRenderingMode>allow</InIFrameRenderingMode> 
<!--This Configuration setting is managed by Oracle Enterprise Manager Fusion Middleware Control--> 
<ClientSessionExpireMinutes>30</ClientSessionExpireMinutes> 
</Security>

 

修改\bihome\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 服务。

注:如果还不行的话,请在清除一下浏览器的缓存。

转载于:https://www.cnblogs.com/ReadCafe/articles/3120873.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值