0

我需要使用 CAS 客户端 API 为目标 URl 生成代理票证,如下所示: https ://host.com/wms ** 特殊字符 ** 是必需的,因为请求可以在代理票证生成后附加一些参数。可以这样做还是强制使用严格的目标 url rappresentation?

先感谢您

4

1 回答 1

0

For Proxy Tickets, you must use the complete representation. It does not take wild cards. That said, you should be able to specify the target url at runtime (i.e. if you generate it during the request). The only requirement is that the target used when generating the PT is the same target value used to validate it.

targetService [REQUIRED] - the service identifier of the back-end service. Note that not all back-end services are web services so this service identifier will not always be a URL. However, the service identifier specified here MUST match the "service" parameter specified to /proxyValidate upon validation of the proxy ticket.

source: http://www.jasig.org/cas/protocol

于 2013-05-21T03:28:26.600 回答