简体   繁体   中英

Jasig CAS Proxy Ticket For special target URL

I need to generate a Proxy Tiket using the CAS client API for a target URl like this: https://host.com/wms ** The special characters ** are necessary because the request can attach after the proxy ticket generation some parameters. It is possible to do this or it is manatory to use the strictly target url rappresentation?

Thank you in advance

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 (ie 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM