本文介绍了为OBIEE(Oracle Business Inteligence)添加jasig CAS认证1​​1g的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正试图将CAS添加为OBIEE 11g的身份验证提供程序.

I'm trying to add CAS as an authentication provider for OBIEE 11g.

到目前为止,我已经将cas-client-core-3.2.1.jar jar添加到$ MW_HOME/wlserver_10.3/server/lib/consoleapp/webapp/WEB-INF/lib/并配置$ MW_HOME/wlserver_10.3/server/lib/consoleapp/webapp/WEB-INF/web.xml与流动的元素:

up until now I've added the cas-client-core-3.2.1.jar jar to$MW_HOME/wlserver_10.3/server/lib/consoleapp/webapp/WEB-INF/lib/and configure$MW_HOME/wlserver_10.3/server/lib/consoleapp/webapp/WEB-INF/web.xmlwith the the flowing elements:

<filter>
  <filter-name>CAS Authentication Filter</filter-name>
  <filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
  <init-param>
    <param-name>casServerLoginUrl</param-name>
    <param-value>http://192.168.0.117:8000/cas/login</param-value>
  </init-param>
  <init-param>
    <param-name>serverName</param-name>
    <param-value>https://192.168.0.170</param-value>
  </init-param>
</filter>

<filter>
  <filter-name>CAS Validation Filter</filter-name>
  <filter-class>org.jasig.cas.client.validation.Cas10TicketValidationFilter</filter-class>
  <init-param>
    <param-name>casServerUrlPrefix</param-name>
    <param-value>http://192.168.0.117:8000/cas</param-value>
  </init-param>
  <init-param>
    <param-name>serverName</param-name>
    <param-value>https://192.168.0.170</param-value>
  </init-param>
</filter>

<filter>
  <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
  <filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class>
</filter>

<filter>
  <filter-name>CAS Assertion Thread Local Filter</filter-name>
  <filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class>
</filter>

<filter-mapping>
    <filter-name>CAS Authentication Filter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
    <filter-name>CAS Validation Filter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

<filter-mapping>
    <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

这仅适用于WL控制台,不适用于OBIEE应用程序.我已重定向到cas登录名,但是仍然需要输入后缀,才能输入控制台密码,有效的用户将是来自CAS的用户.

this only applies to the WL console and not OBIEE application.I'm redirected to the cas login however afterwords i'm still required to enter a console password, and the effective user will be the one from CAS.

您知道如何为OBIEE应用程序部署CAS吗?

any idea how to deploy CAS for the OBIEE application?

谢谢,谢伊

推荐答案

确定,必须解压缩analytics.ear文件,然后从中解压缩analytics.war将cas核心jar添加到WEB-INF/lib并将XML从上面添加到WEB-INF/web.xml重新打包analytics.war,重新打包analytics.ear重新启动weblogic.

OK solved it,had to unpack the analytics.ear file and from in it unpack the analytics.waradd the cas core jar to WEB-INF/liband add the XML from above to WEB-INF/web.xmlrepack analytics.war, repack analytics.earrestart weblogic.

在EM-> coreapplication->安全性中启用SSO选择通用SSO并设置登录和注销URL

in the EM->coreapplication->security enable SSO select generic SSO and set the login and logout urls

注意:我们有一个初始化块,如果用户/密码无法通过身份验证,该初始化块将失败,必须进行更改.

Note: we had an initialization block,that would fail if the user/password wouldn't authenticate, that had to be altered.

这篇关于为OBIEE(Oracle Business Inteligence)添加jasig CAS认证1​​1g的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 20:14