How to obtain a service ticket?
t ray
t_ray9505 at yahoo.com
Mon Mar 12 20:58:20 EDT 2007
I need to be able to authenticate a username/password combo received from a legacy NON-webapp. From reading some of the old forum messages(http://tp.its.yale.edu/pipermail/cas/2004-July/000617.html), it seems I can do a get/post to the CAS login servlet and parse the response for a service ticket (not particularly appealing). Another method appears to be to use the ServiceTicketValidator class and call validate() with a service ticket. However, I am not sure how to get a service ticket in the first place (an unused service ticket is what I need). The documentation for CASFilter and CASValidateFilter indicate that these classes can be used to do validation but I am not sure how (there don't seem to be any validate() kind of methods on either of these 2 classes).
Can someone please clarify? If I am going to use the get/post method, what is the name of the params to pass (Is ?username=xyz&password=abc ok?)
Thanks for your help.
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070312/6adb5b9a/attachment.html
More information about the cas
mailing list