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

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

4 posts

Scott,

 

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

 

Ewan

你可能感兴趣的:(logout)