forked from thurisaz/authlogic_cas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
22 lines (12 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AuthlogicCas
============
AuthlogicCas is a CAS (a cross-site authentication system designed at Yale for single sign-on authentication) add-on for the Authlogic authentication system.
This extension requires the Rubycas-client plugin and a working CAS server with which it will communicate for CAS authentication. You can get this plugin at http://code.google.com/p/rubycas-client/ By installing and configuring your CAS client as outlined in the Rubycas-client documentation, the session variable, session[:cas_user], containing the login credentials of a CAS-authenticated user, will be presented to this adapter.
When using this extension, calls to persist your Authlogic session should work seamlessly, such as:
UserSession.find
You will need to add a session persistence before_filter in your controller like
before_filter CASClient::Frameworks::Rails::Filter
or
before_filter CASClient::Frameworks::Rails::GatewayFilter
to set session[:cas_user] for use with this add-on.
Copyright (c) 2009 Rich Davis, released under the MIT license