Christopher,
If you are wondering why the login page fails the first time, it is because the
user has the old TGC.
We have something like this at the top of our login page view:
<%
Cookie killMyCookie = new Cookie("CASTGC", null);
killMyCookie.setMaxAge(0);
killMyCookie.setPath("/cas/");
response.addCookie(killMyCookie);
%>
So if you actually do a GET for the login page, your TGC is cleared.
Thanks,
Carl
----- Original Message -----
From: "Christopher Sterling" <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Sent: Wednesday, September 10, 2014 4:34:03 PM
Subject: Re: [cas-user] Problems logging in post tomcat restart with an active
session
We are using in-memory store.
More information I could have originally given, in this situation, the user
keeps their browser session open the entire time. I've been able to
replicate this numerous times in both Chrome and IE.
On Wednesday, September 10, 2014 4:27:49 PM UTC-4, Waldbieser, Carl wrote:
>
> Christopher,
>
> If you are using an in-memory ticket store, all the tickets are lost when
> you restart your application server (e.g. Tomcat).
> If you are using a persistent ticket store (like a database), that should
> not happen.
>
> Thanks,
> Carl Waldbieser
> Lafayette College
>
> ----- Original Message -----
> From: "Christopher Sterling" <[email protected] <javascript:>>
> To: [email protected] <javascript:>
> Sent: Wednesday, September 10, 2014 4:20:57 PM
> Subject: [cas-user] Problems logging in post tomcat restart with an active
> session
>
> Hello,
>
> I'm hoping somebody here can help me. We've encountered a weird issue with
> CAS and can't figure it out.
>
> We are running 3.5.2.1. Here's the situation.
>
> 1) User creates a valid CAS session
> --They can login to other services just fine
> 2) We restart the server
> --Say we've changed something in a file that requires a reboot
> 3) They try to login to a system using that session
> --they can no longer login, the page prompts them for username/password,
> they enter it, the page refreshes.
>
> Looking in catalina.out file, I see this.
>
> 2014-09-10 16:12:00,422 INFO
> [com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - <Audit
> trail record BEGIN
> =============================================================
> WHO: audit:unknown
> WHAT: https://my.georgiasouthern.edu/cas/portalCAS.php
> ACTION: SERVICE_TICKET_NOT_CREATED
> APPLICATION: CAS
> WHEN: Wed Sep 10 16:12:00 EDT 2014
> CLIENT IP ADDRESS: 141.165.xxx.xxx
> SERVER IP ADDRESS: 141.165.xxx.xxx
> =============================================================
>
> >
>
>
> Does anybody have any suggestions as to what is going on?
>
> --
> You are currently subscribed to [email protected] <javascript:> as:
> [email protected] <javascript:>
> 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] <javascript:> as:
> [email protected] <javascript:>
> 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