CAS使用

CAS的官方网址是: https://www.apereo.org/projects/cas
工程代码网址:https://github.com/Jasig/cas

使用参考:http://www.imooc.com/article/3576

问题

1.未认证授权的服务
不允许使用CAS来认证您访问的目标应用。
解决办法:在/cas-server/WEB-INF/classes/services/HTTPSandIMAPS-10000001.json文件中添加对Http的支持。默认只支持https/imaps.

1
2
 "@class" : "org.jasig.cas.services.RegexRegisteredService",
"serviceId" : "^(http|https|imaps)://.*",

Author: Donny
Link: https://tommy88.top/2017/08/30/CAS-use/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
微信打赏