在做BIEE与其它系统集成的时候,经常需要把BIEE的页面用Iframe嵌入其它系统中(比如业务系统),在接合SSO,那么用户就可以直接在业务系统中查看BI报表而无需
二次登录了。
默认情况下,出于安全的考虑(clickjacking),BIEE 11g是不能直接嵌入iframe中的,
会提示“OBIEE content can not be displayed in the IFrame”
如果有这方面的需要,我们需要进行如下配置:
修改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 大家可以根

本文介绍了如何在BIEE 11g中配置以允许页面在Iframe中嵌入,解决默认的安全限制问题。通过修改`instanceconfig.xml`和`web.xml`文件,设置`InIFrameRenderingMode`为`allow`和` oracle.adf.view.rich.security.FRAME_BUSTING`为`never`,并提供了相关配置细节和注意事项。
最低0.47元/天 解锁文章
970

被折叠的 条评论
为什么被折叠?



