What exactly are you hoping to discover by looking at that class? There are really only two scenarios where a TGT is not created/placed into a cookie:
1. Authentication failed (no TGT is generated) 2. Non-secure connection (http vs. https) On Mon, Jun 2, 2014 at 8:15 AM, Zac Harvey <[email protected]> wrote: > Can anybody tell me where (inside the CAS source code) the CASTGC cookie > gets created and handed back to the browser? I see an > org.jasig.cas.web.support.CookieRetrievingCookieGenerator... am I close? > > -----Original Message----- > From: Zac Harvey > Sent: Friday, May 30, 2014 5:33 PM > To: '[email protected]' > Subject: RE: [cas-user] How/where is CASTGC generated? > > Thanks Andy, > > Yes I've been using the "F12" tool in IE (I guess it's called DebugBar) > and have confirmed that in about 50% of the cases, after a user logs in via > IE, the browser does not receive a CASTGC cookie. Thoughts? > > Thanks again, > > Zac > > -----Original Message----- > From: Andrew Morgan [mailto:[email protected]] > Sent: Friday, May 30, 2014 5:26 PM > To: [email protected] > Subject: Re: [cas-user] How/where is CASTGC generated? > > On Fri, 30 May 2014, Zac Harvey wrote: > > > It looks like (maybe) the CookieRetrievingCookieGenerator is > > responsible for creating the CASTGC? > > > > https://github.com/Jasig/cas/blob/master/cas-server-webapp-support/src > > /main/java/org/jasig/cas/web/support/CookieRetrievingCookieGenerator.j > > ava > > > > I am running into instances where CASTGC is not being generated and I > > need to debug why. > > > > Is anyone aware of circumstances where CASTGC will not get generated? > > Have you tried using Web Developer (Firefox) or DebugBar (IE) so that you > can view the HTTP traffic between your browser and the CAS server? Those > tools can show you a lot about what is really happening. For example, you > can see if the CAS server is sending the CASTGC cookie to your browser. > > Andy > > -- > 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 > > -- 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
