Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
Перейти к файлу
Robert Mitwicki 1755c0df1a Merge pull request #234 from viranch/viranch/fix_multi_auth
Fix bug #233 with multiple authenticators
2015-01-21 07:56:35 -05:00
bin added provisory command line switch for specifying custom config file 2011-08-03 17:45:09 -04:00
config Merge branch 'allowed_service_ips' 2012-12-21 11:39:49 -06:00
db/migrate Remove empty gitignore from db 2012-12-06 23:47:59 +01:00
gemfiles run rake appraisal:install to update gemfiles 2012-12-21 11:29:16 -06:00
lib Fixes bug #233 with multiple authenticators 2014-12-05 18:16:01 +05:30
locales Fix translations. 2014-08-27 14:55:14 +02:00
log Add empty log and db folders 2009-11-25 17:19:52 -08:00
public/themes Remove the urbacon theme. 2012-12-07 10:31:13 -08:00
resources moved example config to config directory. prabably more likely to be found there than in 'resources' 2011-03-09 14:07:53 -05:00
spec Allow multiple SQL authenticators to be used without conflict. 2014-07-28 13:29:45 -04:00
tasks make migrator use Ticket instead of Base 2012-10-17 12:38:47 -05:00
.gitignore update get value from ar 2014-03-19 17:49:07 +08:00
Appraisals generate appraisals 2012-10-17 13:36:34 -04:00
CHANGELOG incremented version to 1.1.3.pre and updated CHANGELOG 2012-10-17 15:03:21 -04:00
Gemfile Move authenticators dependencies into Gemfile 2012-11-27 14:50:20 +01:00
Guardfile build Guardfile 2012-10-17 12:24:37 -05:00
LICENSE Updated copyright. 2011-12-16 14:15:07 -05:00
README.md Use GitHub contributors link for attribution 2014-12-14 19:29:14 -08:00
Rakefile add appraisal for testing against multiple versions of activerecord 2012-10-17 13:31:45 -04:00
config.ru use ConnectionManagement middleware to close database connect automatically 2014-06-11 11:04:25 +08:00
rubycas-server.gemspec Merge pull request #134 from mitfik/autoloads 2012-12-15 08:46:11 -08:00

README.md

RubyCAS-Server

Portions contributed by Matt Zukowski are copyright (c) 2011 Urbacon Ltd. Other portions are copyright of their respective authors.

Authors

See https://github.com/rubycas/rubycas-server/graphs/contributors

Installation

Example with mysql database:

  1. git clone git://github.com/rubycas/rubycas-server.git
  2. cd rubycas-server
  3. cp config/config.example.yml config.yml
  4. Customize your server by modifying the config.yml file. It is well commented but make sure that you take care of the following:
    1. Change the database driver to mysql2
    2. Configure at least one authenticator
    3. You might want to change log.file to something local, so that you don't need root. For example just casserver.log
    4. You might also want to disable SSL for now by commenting out the ssl_cert line and changing the port to something like 8888
  5. Create the database (i.e. mysqladmin -u root create casserver or whatever you have in config.yml)
  6. Modify the existing Gemfile by adding drivers for your database server. For example, if you configured mysql2 in config.yml, add this to the Gemfile: gem "mysql2"
  7. Run bundle install
  8. bundle exec rubycas-server -c config.yml

Your RubyCAS-Server should now be running. Once you've confirmed that everything looks good, try switching to a Passenger deployment. You should be able to point Apache (or whatever) to the rubycas-server/public directory, and everything should just work.

Some more info is available at the RubyCAS-Server Wiki.

If you have questions, try the RubyCAS Google Group or #rubycas on freenode.

License

RubyCAS-Server is licensed for use under the terms of the MIT License. See the LICENSE file bundled with the official RubyCAS-Server distribution for details.