访问client后,跳转到cas登录页,显示: The application you attempted to authenticate to is not authorized to use CAS
在cas的\WEB-INF\classes\services下有个HTTPSandIMAPS-10000001.json,
{ "@class" : "org.jasig.cas.services.RegexRegisteredService", "serviceId" : "^(https|imaps)://.*", "name" : "HTTPS and IMAPS", "id" : 10000001,
把serviceId内容里增加“|http”即可,不需要重启tomcat。
|