单点登录--CAS认证--web.xml配置详解
标签:系统 code on() tps 开发者 bsp context appid ESS
参考网址:
https://blog.csdn.net/zhurhyme/article/details/29349543
https://blog.csdn.net/shzy1988/article/details/50662462
cas 分为服务端,与客户端。那么客户端如何与服务端进行交互呢,或者说服务端发送的response报文客户端如何接收呢?这就要用到配置。cas client通过filter拦截与cas服务器进行交互。它的主要配置主要有以下几个filter:
1.AuthenticationFilter
作用,判断用户是否登录,如果登录则进入第二步,否则重定向到cas服务器
2.TicketValidationFilter
对于client接收到的ticket进行验证
3.HttpServletRequestWrapperFilter
4.AssertionThreadLocalFilter
CAS Single Sign Out Filterclass>org.jasig.cas.client.session.SingleSignOutFilterclass>
CAS Single Sign Out Filter/*org.jasig.cas.client.session.SingleSignOutHttpSessionListenerCASFilterorg.jasig.cas.client.authentication.AuthenticationFiltercasServerLoginUrlhttp://CAS服务端所在服务器IP:8080/cas/loginserverNamehttp://具体web应用程序所在服务器IP:8080CASFilter/*CAS Validation Filterorg.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFiltercasServerUrlPrefixhttp://CAS服务端所在服务器IP:8080/casserverNamehttp://具体web应用程序所在服务器IP:8080renewfalsegatewayfalseCAS Validation Filter/*CAS HttpServletRequest Wrapper Filterorg.jasig.cas.client.util.HttpServletRequestWrapperFilterCAS HttpServletRequest Wrapper Filter/*CAS Assertion Thread Local Filterorg.jasig.cas.client.util.AssertionThreadLocalFilterCAS Assertion Thread Local Filter/*CasForInvokeContextFiltercom.cm.demo.filter.CasForInvokeContextFilterappIda5ea611bbff7474a81753697a1714fb0CasForInvokeContextFilter/*
单点登录--CAS认证--web.xml配置详解
标签:系统 code on() tps 开发者 bsp context appid ESS
原文地址:https://www.cnblogs.com/liuys635/p/14320152.html
评论