【发布时间】:2013-06-14 18:05:16
【问题描述】:
我在本地设置了 CAS。我有一个也在本地运行的 grails 应用程序。我的 CAS 身份验证有效。我的 CAS 正在这个位置运行
http://localhost:8081/cas/login?service=http%3A%2F%2Flocalhost%3A8081%2Fj_spring_cas_security_check
我的 grails 应用程序在 http://localhost:8080/CASTest/test/ 运行
所以当我转到我的 grails 应用程序时,我会被重定向到 CAS 进行登录,但是在登录后,我在我的 CAS 中不断收到evaluationException on hostUrl。我认为错误是因为 CAS 中服务字段中的 localhost,如果我将其更改为 test1.localhost 它可以工作,它会在身份验证后将我重定向到 test1.localhost。有什么想法可以将其重定向回本地运行的应用程序吗?
【问题讨论】:
标签: authentication grails redirect cas