机票已验证但未传输 PGT Iou

Ticket validated but no PGT Iou transmitted

我正在尝试使用 PHPCAS 库版本 1.3.3 制作代理 CAS webapp。起初我尝试了文档中的一个示例,但不幸的是我得到了一个错误,说我没有通过身份验证。

我正在使用 example_proxy_GET.php,在日志中它是这样写的:

Authentication failure: Ticket validated but no PGT Iou transmitted [AuthenticationException.php:80] Reason: no CAS error [AuthenticationException.php:94]

在验证 ST(服务票证)时身份验证成功,但日志还显示: <proxyGrantingTicket> not found [Client.php:2541] CAS_AuthenticationException::__construct(CAS_Client, 'Ticket validated but no PGT Iou transmitted

所以,我的问题是单点登录服务器(我认为是 CAS 2.0)没有发送 PGT Iou(所以服务器配置错误)或者示例文件有问题?

如果服务器配置错误,我该怎么办?

谢谢

UDPATE

我使用的是私有 IP 地址,当我尝试打开 CAS 服务器登录 tomcat 时,它说的是

2015-04-09 11:56:41,428 WARN [org.jasig.cas.util.HttpClient] - <Socket Timeout Detected while attempting to send message to [http://10.10.100.102/sso/docs/examples/example_proxy_GET.php].>

我的猜测是我应该使用一些 public IP/域来正确使用 CAS

原来我需要设置一个https服务器来使用CAS的代理功能。 我在这里找到了详细信息

https://wiki.jasig.org/display/CASC/phpCAS+requirements