1. 下载地址 https://github.com/apereo/cas/archive/v4.2.7.zip 2. 解压后, 用intellj idea 打开 3. 执行 gradle build -x test ,打包编译 4. 取消https,能够支持直接http cas.properties 修改两个地方 # Decides whether SSO cookie should be created only under secure connections. tgc.secure=fa