cas单点登录成功后,不跳转的问题。

快跑蜗牛哥 2016-08-26 10:35:31
pentaho5.X 版本 cas 单点登录,登陆成功后,页面不跳转是哪里设置的问题?
登陆成功后,页面上显示如下:
CAS  TEST /login?service=http://localhost:8080/pentaho/j_spring_cas_security_check
Log In Successful
You have successfully logged into the SSO Authentication Service.
For security reasons, please Log Out and Exit your web browser when you are done accessing services that require authentication!


以下是 相关代码

<bean id="serviceProperties" class="org.springframework.security.ui.cas.ServiceProperties" autowire="default" dependency-check="default" lazy-init="default">
<property name="service" value="http://localhost:8080/pentaho/j_spring_cas_security_check"/>
<property name="sendRenew" value="false"/>
</bean>

<bean id="exceptionTranslationFilter" class="org.springframework.security.ui.ExceptionTranslationFilter" autowire="default" dependency-check="default" lazy-init="default">
<property name="authenticationEntryPoint">
<ref local="casProcessingFilterEntryPoint"/>
</property>
<property name="accessDeniedHandler">
<bean class="org.springframework.security.ui.AccessDeniedHandlerImpl" />
</property>
</bean>

<bean id="casSingleSignOutFilter" class="org.jasig.cas.client.session.SingleSignOutFilter">
</bean>
<bean id="casSingleSignOutHttpSessionListener" class="org.jasig.cas.client.session.SingleSignOutHttpSessionListener">
</bean>

<bean id="casProcessingFilterEntryPoint" class="org.springframework.security.ui.cas.CasProcessingFilterEntryPoint" autowire="default" dependency-check="default" lazy-init="default">
<property name="loginUrl" value="http://192.168.130.256:8787/sso/login?sysname=CAS%20TEST/login"/>
<property name="serviceProperties">
<ref local="serviceProperties"/>
</property>
</bean>
...全文
5768 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
kitajima-- 2019-04-17
  • 打赏
  • 举报
回复
可以使用 & 把 ?service 变为 &service
kitajima-- 2019-04-17
  • 打赏
  • 举报
回复
xml中 可恶意使用 & 把 ?service 变为 &service
坏事走开 2019-01-22
  • 打赏
  • 举报
回复
请问您的问题解决了么,能分享一下么。 我在使用spring boot 整合cas的时候,会跳转到cas的认证页面,但是认证成功之后,不能跳转到指定的页面
你们都是坏人 2018-02-09
  • 打赏
  • 举报
回复
没有人回答,请搜索相关群 问问。
快跑蜗牛哥 2016-08-30
  • 打赏
  • 举报
回复
在 xml 文件中如何设置可以使 ?service 变为 &service
快跑蜗牛哥 2016-08-29
  • 打赏
  • 举报
回复
沒人???
海兰 2016-08-29
  • 打赏
  • 举报
回复
哪位大神帮忙给解答下呀~~
快跑蜗牛哥 2016-08-26
  • 打赏
  • 举报
回复
cas 登录成功后 网址: http://192.168.130.256:8787/sso/login?sysname=CAS%20TEST/login?service=http%3A%2F%2Flocalhost%3A8080%2Fpentaho%2Fj_spring_cas_security_check

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧