We have 2 separate VMs that are acting as application servers. We
have the session in the database.
I have read that documentation and abided by it.
Is there any documentation that includes the ticket store
configuration and the command to run the generator? Are there any
project examples that work? Is anyone successfully doing this? My
first problem was that I could not figure out how to use the
generator, and it does not show up when you do rails g. Then I
created my own migration to add the service_ticket column to the
sessions table and the cas_pgtious table. Then it just was not
populating those things, so I looked in the git repo and there is more
code in there that populates the service_ticket column in the
before_save, but the latest version does not seem to work with rails
3.2, due to it not adding the find_by_session_id method to the
session, which active_record wants to remove before it adds its own.
Now I am successfully saving the service_ticket and then finding it on
logout, but the session is not going away. The next time the user
moves to another page, it still finds the ticket somewhere. And it
looks like the code tries to destroy the session when it gets the
single sign out request, but that single sign out request is from the
cas server, not from the user's browser, so that session is not the
user's session. So I need to close the session in a different way.
It does not make sense to me that this stuff would work. Is there
anyone actually getting this to work?