![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
Colin Zhang (Coder)
15927853463@163.com(Coder)
展开
-
springboot 将web.xml配置转为类注解配置
一.原本xml<filter> <filter-name>CASFilter</filter-name> <filter-class>com.xb.login.RemoteAuthenticationFilter</filter-class> <init-param> <param-name>localLoginUrl</par原创 2020-09-18 17:18:10 · 1582 阅读 · 0 评论 -
CAS单点登录(Client 客户端) 过滤器重写
一. 使用默认过滤器配置 springboot1. 启动类上 加 @EnableCasClient 开启casclient 客户端2.properties加如下配置#cas 配置cas.server-url-prefix=http\://192.168.1.232\:80cas.server-login-url=http\://192.168.1.232\:80/cas/logincas.client-host-url=http\://192.168.1.232\:20002cas.vali原创 2020-09-18 16:58:49 · 4519 阅读 · 5 评论