cas5.x 使用http方式

版权声明:本博客为自己总结亦或在网上发现的技术博文的转载。 如果文中有什么错误,欢迎指出。以免更多的人被误导。 邮箱:[email protected] 版权声明:本文为博主原创文章,博客地址:https://blog.csdn.net/ChinaMuZhe,未经博主允许不得转载。 https://blog.csdn.net/ChinaMuZhe/article/details/81388555

  从官网https://github.com/apereo/cas-overlay-template下载项目后。bulid workspace的过程很慢。我们自行下载war包,并放到项目中。

  使用HTTP:

  在下载的war包的application.properties中添加:

cas.tgc.secure=false
cas.serviceRegistry.initFromJson=true

  修改services目录下的HTTPSandIMAPS-10000001.json

  

  修改完这两项即可。以后直接访问cas-server或cas-client使用http://方式就可以了。

猜你喜欢

转载自blog.csdn.net/ChinaMuZhe/article/details/81388555
今日推荐