Chris,

Does it give you any indication of why the ticket was invalid?

-Scott

On 10/10/07, Christopher Brooks <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to hack up a simple single sign on solution.  I've got two
> different CAS servers out there that are not under my control at
> all.  When
> a user hits my web application they may or may not supply a ticket from
> one
> of these servers.  I'd like to query these servers to see if this ticket
> is
> valid, and what username it is valid for.
>
> I thought I could do this using the ServiceTicketValidator in the CAS
> client
> libraries.  Code was something like this:
>
>     ServiceTicketValidator sv = new ServiceTicketValidator();
>     sv.setCasValidateUrl("https://serviceValidatorURL";);
>     sv.setService("http://link to my service");
>     sv.setServiceTicket("ST-31368-SGovBlacR9wyMG7g8PNj");
>     xmlResponse = sv.getResponse();
>
> The response always indicated the ticket was invalid.
>
> Can anyone give me a gentle nudge in the right direction?  The CAS servers
> are currently setup at 2.x servers, but a working solution with CAS 3
> would
> be fine....
>
> Chris
> --
> Christopher Brooks
> Research Assistant, ARIES Laboratory
>
> Email: [EMAIL PROTECTED]
> Web: http://www.cs.usask.ca/~cab938
> Mail: Mr. Christopher Brooks, MSc
>       Department of Computer Science
>       110 Science Place
>       Saskatoon, SK
>       S7N 5C9
>
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to