CAS 单点logout

Hi there,

 

I’m completely new to CAS and am having difficulty implementing redirection in the logout functionality.

 

I am attempting to integrate CAS into an ASP.NET project and have read the following about the logout functionality:

 

=============================================================================

The CAS logout URL is: {cas-server-name}/cas/logout

 

usage: { cas-server-name}?service={my-logout-url}

 

CAS will log out the authenticated user and redirect to the URL you specify

=============================================================================

 

I have implemented this in my code and redirect to the CAS logout page specifying a URL to redirect to and am not being redirected once the CAS logout has been performed.

 

Can you please give me some assistance on this issue?

 

Thanks for your help.

 

Ewan

 


_______________________________________________ 
cas-dev mailing list 
[hidden email] 
http://tp.its.yale.edu/mailman/listinfo/cas-dev
 
Reply |  Threaded |  More       star

Re: CAS Logout

Scott Battaglia-2
4959 posts
You've almost got it.  You just need to enable redirects.  Set the following property:
<property name="followServiceRedirects" value="true" /> for the LogoutController in the cas-servlet.xml

-Scott

On Jan 30, 2008 9:21 AM, Ritchie, Ewan [OS-IE] < [hidden email]> wrote:

Hi there,

 

I'm completely new to CAS and am having difficulty implementing redirection in the logout functionality.

 

I am attempting to integrate CAS into an ASP.NET project and have read the following about the logout functionality:

 

=============================================================================

The CAS logout URL is: {cas-server-name}/cas/logout

 

usage: { cas-server-name}?service={my-logout-url}

 

CAS will log out the authenticated user and redirect to the URL you specify

=============================================================================

 

I have implemented this in my code and redirect to the CAS logout page specifying a URL to redirect to and am not being redirected once the CAS logout has been performed.

 

Can you please give me some assistance on this issue?

 

Thanks for your help.

 

Ewan

 


_______________________________________________
cas-dev mailing list
[hidden email]
http://tp.its.yale.edu/mailman/listinfo/cas-dev




-- 
-Scott Battaglia

LinkedIn:  http://www.linkedin.com/in/scottbattaglia 
_______________________________________________ 
cas-dev mailing list 
[hidden email] 
http://tp.its.yale.edu/mailman/listinfo/cas-dev
Reply |  Threaded |  More       star

Re: CAS Logout

Ritchie, Ewan [OS-IE]
4 posts

Scott,

 

Thanks for the quick response.  It is now working as expected.

 

Ewan

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值