`
endual
  • 浏览: 3544755 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

CAS 单点logout

    博客分类:
  • java
 
阅读更多

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

分享到:
评论

相关推荐

    phpCAS源码以及调用示例(redis管理session,解决无法logout的问题)

    在IT行业中,尤其是在Web开发领域,单点登录(Single Sign-On, SSO)是一种常见的身份验证机制,使得用户只需一次登录就能访问多个相互关联的应用系统。CAS(Central Authentication Service)是 Yale 大学开发的一...

    cas单点登录

    总之,CAS单点登录系统提供了统一的身份验证入口,简化了用户登录过程,提高了用户体验。通过理解和实践CAS Server的配置以及客户端的集成,开发者可以有效地在自己的应用环境中实现单点登录功能。

    cas单点登出的3个类

    标题中的“cas单点登出的3个类”指的是在CAS(Central Authentication Service)系统中实现单点登出功能所涉及的关键组件。CAS是一个开源的身份验证框架,它提供了单点登录(Single Sign-On, SSO)功能,允许用户...

    用cas实现mantis单点登录和登出

    ### 使用 CAS 实现 Mantis 单点登录与登出 #### 概述 单点登录(Single Sign-On,简称 SSO)是一种常见的身份认证模式,它允许用户在多个应用程序和服务中仅通过一次登录就能访问所有相关系统而无需多次输入密码。...

    cas单点才登出原理

    接下来,我们将详细探讨CAS单点登出的原理。 首先,理解SSO的基本流程: 1. 用户打开一个受CAS保护的应用系统A。 2. 应用系统A发现用户未登录,重定向到CAS服务器。 3. 用户在CAS服务器上输入凭证并验证通过。 4. ...

    Spring Security 3 与 CAS单点登录配置.doc

    Spring Security 3 与 CAS 单点登录配置 Spring Security 3 是一个基于 Java 的安全框架,提供了灵活的身份验证、授权和访问控制功能。CAS(Central Authentication Service)是一种流行的单点登录协议,允许用户...

    cas实现单点登录,登出(java和php客户端)

    总之,CAS单点登录系统为多应用环境提供了一种高效的身份验证解决方案。通过Java和PHP客户端的集成,可以在多种技术栈的项目中实现一致的用户体验,同时也简化了用户管理和权限控制。在实际应用中,应根据项目需求...

    CAS单点登录

    【CAS单点登录】是一种集中式身份验证系统,旨在简化用户在多个应用系统之间的登录流程。CAS(Central Authentication Service)协议是实现这一功能的核心技术,它允许用户在首次登录后,无需再次输入凭证就能访问...

    SSO之CAS单点登录详细图文教程.zip

    本教程将通过“SSO之CAS单点登录详细图文教程.zip”这个压缩包,详细介绍如何部署CAS(Central Authentication Service)来实现SSO。 首先,让我们了解CAS的基本架构。CAS通常包括两个主要部分:服务端和客户端。...

    Spring Security 3 与 CAS单点登录配置-Server

    标题 "Spring Security 3 与 CAS 单点登录配置 - Server" 涉及到的是在企业级应用中实现安全访问控制的重要技术。Spring Security 是一个强大的和高度可定制的安全框架,用于保护基于 Java 的 Web 应用程序。而 CAS...

    单点登录sso-shiro-cas-maven

    spring下使用shiro+cas配置单点登录,多个系统之间的访问,每次只需要登录一次 ## 系统模块说明 1. cas: 单点登录模块,这里直接拿的是cas的项目改了点样式而已 2. doc: 文档目录,里面有数据库生成语句,采用的...

    cas对接 net系统说明文档

    ##### 步骤一:定义系统CAS单点登录参数和请求地址 在`Web.config`文件的`&lt;configuration&gt;`标签下增加`&lt;appSettings&gt;`标签,如果已经存在,则无需重复添加,直接编辑现有标签即可。具体参数配置如下: ```xml ...

    cas 和spring security 单点登录 配置

    这篇博文将探讨如何配置CAS与Spring Security实现单点登录。 **一、CAS简介** CAS是耶鲁大学开源的一个基于Web的单一登录系统,它允许用户在一个地方登录,然后在整个受保护的网络区域内自动授权。CAS服务器主要...

    CAS 协议 票据、url介绍,包括cas1.0和cas2.0

    CAS 协议的主要目的是提供单点登录(SSO)功能,实现用户的身份验证和授权。 票据(Ticket) 在 CAS 协议中,票据是指身份验证的凭证。票据可以是 Ticket-Granting Ticket(TGT)、Service Ticket(ST)、Proxy ...

    cas4.0.7+casClient示例(原生)

    CAS(Central Authentication Service)是一种广泛使用的开放源码的单点登录(Single Sign-On,简称SSO)系统,主要由Java开发。...通过这个示例,开发者可以快速上手并实现自己的CAS单点登录系统。

    CAS-4.0.3客户端配置单点登录的Demo

    **CAS(Central Authentication Service)** 是一个开源的身份验证框架,它提供了一种集中式的认证机制,使得用户只需要在一个地方登录,就能访问多个相互信任的应用系统,这就是所谓的**单点登录(Single Sign-On, ...

Global site tag (gtag.js) - Google Analytics