1

我正在尝试向我在本地部署的 cas-overlay-template 项目添加服务。我的服务 json 看起来像这样

{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^(http?|imaps?)://.*",
  "name" : "HTTPSandIMAPS",
  "id" : 8081,
  "description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
  "evaluationOrder" : 1,
  "logoutType" : "BACK_CHANNEL",
  "logoutUrl" : "http://localhost:8081/logout",
}

我已将其保存在 /etc/cas/services 文件夹中。我仍然收到消息'Application Not Authorized to Use CAS'。我用来登录 cas 的 url 是https://localhost:8443/cas/login?service=http://localhost:8081/cas/login

4

0 回答 0