How to enable the proxy for cas client

Allen Chen chqh at scut.edu.cn
Fri Apr 25 11:17:08 EDT 2008


Hi, everybody.

I read a lot about cas proxy,. and I know the principle and how the proxy work. But now I am a little confused on how to config the proxy.

>From google, I found that if i want to be able to proxy other applications i need to also supply a pgtUrl to your validation request so that CAS can callback with the Proxy Granting Ticket.
https://foo.bar.com/is/cas/serviceValidate?ticket=ST-956-Lyg0BdLkgdrBO9W17bXS&service=http://localhost/bling&pgtUrl=https://foo.bar.com/pgtCallback 

how can I add the pgtUrl as request parameter in my cas client application? From the cas client 2.0 source, I found there is no way to add a pgtUrl to the url except that I find a way to set the proxyCallbackUrl in ServiceTicketValidator.java. But I hope it can be done by configuration.

And another question, how can my application pass the PT to the back-end application? And is there any configuration for back-end application needed?

Any tip would be very appreciated. Thanks in advance.






Allen Chen
2008-04-25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080425/9cd6d20a/attachment.html 


More information about the cas mailing list