forked from thurisaz/authlogic_cas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
38 lines (22 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.
Attention: This add-on works only with Rails!
Install
=======
1. Install the rubycas-client plugin. You can download it from here:
http://code.google.com/p/rubycas-client/
2. Install this plugin.
3. In your config/environment.rb make sure that the rubycas-client plugin will be loaded before this plugin. You can ensure that by adding something like this to the Rails::Initializer.run block:
config.plugins = [ :casclient, :authlogic_cas, :all ]
4. Add the rubycas-client filter settings at the end of the config/environment.rb:
CASClient::Frameworks::Rails::Filter.configure(
:cas_base_url => "https://your.cas.server.here/",
:enable_single_sign_out => true
)
Copyright (c) 2011 Hauke Pribnow, released under the MIT license
----------------------------------
Original version of authlogic_cas:
http://github.com/thurisaz/authlogic_cas
Copyright (c) 2009 Rich Davis, released under the MIT license