# TOOL_CAS
**Repository Path**: qwsone/TOOL_CAS
## Basic Information
- **Project Name**: TOOL_CAS
- **Description**: CAS单点登录客户端自动进行单点登陆工具封装。并演示CAS单点登陆服务端集成
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 2
- **Created**: 2019-06-02
- **Last Updated**: 2024-01-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# CAS_learn
cas学习工程记录
本实例实现了cas的单点登录功能,同时实现了退出的接口,免登录功能
cas client工具的使用注意事项如下:
(1)工具仅仅适用于Springboot工程。
(2)在使用工具的时候需要在配置文件application.properties中添加相应的cas配置信息,如下:
#cas config
spring.cas.sign-out-filters=/logout
spring.cas.auth-filters=/*
spring.cas.validate-filters=/*
spring.cas.request-wrapper-filters=/*
spring.cas.assertion-filters=/*
spring.cas.redirect-after-validation=true
spring.cas.use-session=true
#the dev of cas config
spring.cas.cas-server-login-url=http://localhost:8080/login
spring.cas.cas-server-url-prefix=http://localhost:8080
spring.cas.server-name=http://localhost:8011
(3)使用此工具的时候需要让工程能够自动扫描到工具包。