Hello,

 

I’m trying to use ServiceTicketValidator in a J2EE webapp. The latter is “casified” with a CAS Filter.

In my JSP, I can access authenticated user and ticket. But when I try to use ServiceTicketValidator (my final goal is to generate proxy tickets), I get an “INVALID_TICKET” error.

 

Here is my question. This is the following piece of source code:

 

/* instantiate a new ServiceTicketValidator */
ServiceTicketValidator sv = new ServiceTicketValidator();
 
/* set its parameters */
sv.setCasValidateUrl(<CAS Validate URL>);
sv.setService(urlOfThisService); ç What do I need to set here ? 
sv.setServiceTicket(<My Ticket>);

 

 

What do I need to put into setService() method?  Javadoc says: ServiceTicketValidator#setService:  “Sets the service to use when validating”. Can someone give me further details about that?

 

Thank you in advance.

 

JJB

 

 

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to