Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using redis with rubycas-client #8

Open
jasonjei opened this issue Nov 6, 2010 · 2 comments
Open

Using redis with rubycas-client #8

jasonjei opened this issue Nov 6, 2010 · 2 comments

Comments

@jasonjei
Copy link

jasonjei commented Nov 6, 2010

I'm thinking of forking and adding in an option to use redis as a datastore for SSO sessions instead of the tmp/sessions directory in Rails. Redis would be a better option for this sort of temporary session, and also simply for the fact that it will work on Heroku much better (given that your app is run by multiple nodes) for Single Sign Out.

is this reasoning sound?

@edan
Copy link

edan commented Nov 17, 2010

I just did something like this but stored the session lookup data in the db not redis. I did it in a way that you should be able to add a redis storage module rather easily. Here is the branch of my fork:

https://github.com/edan/rubycas-client/tree/session_stores

@soupmatt
Copy link
Member

soupmatt commented Nov 1, 2011

A session store framework has been added the current release. If you would like to add a redis store, I'd be happy to accept a pull request. Please include rspec tests to validate your store works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants