Hi,

On Oct 16, 2011, at 10:19 AM, pionierprog wrote:

> No that is not the problem. I have a application that has some protected 
> content and unprotected content. And when i login to cas server and then move 
> to some unprotected content im not logged in i have to enter protected url 
> then i'm redirected to cas and automatically authenticated. My question is 
> how can i check that i'm logged in to cas server ? I have found a cookie 
> called CASTGC but cant get it in a regular getCookie() method. 

You can't access the CASTGC cookie from your app -- it's only accessible to the 
CAS server itself. 

As was pointed out earlier in the thread, it sounds like you are looking for 
the gateway[1] feature of the CAS protocol. Is there some reason why gateway 
won't work?

Rhett

[1]: http://www.jasig.org/cas/client-integration/gateway

> -- 
> 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


-- 
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

Reply via email to