My guess is that you're using a "no-secure" connection.
I mean, you're not under https:
For development purposes you can change p:cookieSecure from true to false.
<bean id="ticketGrantingTicketCookieGenerator"
class="org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
p:cookieSecure="false"
p:cookieMaxAge="-1"
p:cookieName="CASTG"
p:cookiePath="/cas" />
Cheers!
2012/10/30 Jonathan <[email protected]>
> I am trying to validate the ticket with CAS protocol
> /cas/validate?service=https%3A%2F%2Fabc%2Findex.html?ticket=
> ST-12-j5TFpobhwJBSXmkt3fAF-cas01.example.org
>
> It always return "no".
>
> I use the browser only to test by logging on to CAS
> /cas/login?service=https%3A%2F%2Fabc%2Findex.html, then logon successfully,
> then use the /cas/validate?service=https%3A%2F%2Fabc%2Findex.html?ticket=
> ST-12-j5TFpobhwJBSXmkt3fAF-cas01.example.org to validate the ticket on
> the browser, but it returns "no".
>
> What am I missing?
>
> Thanks
> Jonathan
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
--
Carlos
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user