WHy is service ticket null?
t ray
t_ray9505 at yahoo.com
Thu Mar 8 19:59:54 EST 2007
Hello,
I am having trouble getting the service ticket. I use the following code and ticket turns out to be null-
ServiceTicketValidator sv = new ServiceTicketValidator();
sv.setCasValidateUrl("https://localhost:8443/cas/serviceValidate");
sv.setService("http://localhost:8080/examples/jsp2/dem/basic-stuff.jsp");
System.out.println("TICKET="+request.getParameter("ticket"));
sv.setServiceTicket(request.getParameter("ticket"));
sv.validate();
As per my understanding, one needs to either manually validate a ticket OR set up the filters etc within web.xml. I have NOT modified web.xml and I expected the above to work. Things work fine when I modify the web.xml and let the filters redirect my requests to CAS.
Suggestions?
Thanks.
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070308/6914de69/attachment.html
More information about the cas
mailing list