Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
Перейти к файлу
Adam Crownoble 1be41b92d9 Add support for allowed_service_ips whitelist.
allowed_service_ips can be set in config.yml to limit service
validations to a certain set of IPs or IP ranges. This prevents
just any site from being able to grab potentially sensitive
personal information.
2012-12-12 22:09:24 -08:00
bin added provisory command line switch for specifying custom config file 2011-08-03 17:45:09 -04:00
config Add support for allowed_service_ips whitelist. 2012-12-12 22:09:24 -08:00
db/migrate Remove empty gitignore from db 2012-12-06 23:47:59 +01:00
gemfiles update appraisals 2012-10-17 15:38:07 -05:00
lib Add support for allowed_service_ips whitelist. 2012-12-12 22:09:24 -08:00
locales changed my mind about the naming of success_ strings 2012-04-19 14:36:48 -04:00
log Add empty log and db folders 2009-11-25 17:19:52 -08:00
public/themes username and password labels in login form are now right-aligned 2012-04-19 12:47:15 -04: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 Add support for allowed_service_ips whitelist. 2012-12-12 22:09:24 -08:00
tasks make migrator use Ticket instead of Base 2012-10-17 12:38:47 -05:00
.gitignore Cleaned up Gem distribution system. 2010-10-04 16:53:22 -04: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 Fixed ActiveRecord connection when racked in an application with it's own ActiveRecord connection 2011-06-29 04:31:56 +08:00
Gemfile.lock Test that single sign out XML is valid. 2012-12-05 10:46:29 -08: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 Update README.md 2012-12-06 22:47:38 +01:00
Rakefile add appraisal for testing against multiple versions of activerecord 2012-10-17 13:31:45 -04:00
config.ru Revert "(#118) Relax bundler requirement" 2012-06-22 13:16:49 -04:00
rubycas-server.gemspec Update rubycas-server.gemspec 2012-12-06 22:53:43 +01:00
setup.rb strip trailing whitespaces with source-tools st:strip 2009-09-24 13:49:37 +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/commits

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.