Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
Перейти к файлу
Tyler Pickett b0e8e3a861 make migrator use Ticket instead of Base
Signed-off-by: Tyler Pickett <t.pickett66@gmail.com>
2012-10-17 12:38:47 -05:00
bin added provisory command line switch for specifying custom config file 2011-08-03 17:45:09 -04:00
config Add restricted_domain option to Google authenticator 2012-05-11 16:05:37 -07:00
db Cleaned up Gem distribution system. 2010-10-04 16:53:22 -04:00
lib move authenticator specs to a more conventional spot 2012-10-17 12:31:02 -05: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 set a default config for the test server 2012-10-17 12:31:19 -05: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
CHANGELOG updated CHANGELOG for 1.1.2 release 2012-09-19 14:12:08 -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 re-ran bundle after r18n upgrade patch 2012-09-19 14:07:44 -04:00
LICENSE Updated copyright. 2011-12-16 14:15:07 -05:00
README.md additional formatting changes for README 2012-09-17 23:58:27 -03:00
Rakefile Default to running specs 2012-01-30 18:01:56 -05:00
config.ru Revert "(#118) Relax bundler requirement" 2012-06-22 13:16:49 -04:00
rubycas-server.gemspec patch from t.pickett66 upgrading r18n to 1.1.0 2012-09-19 13:40:15 -04: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 http://github.com/gunark/rubycas-server/commits/

Installation

  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" and gem "activerecord-mysql2-adapter"
  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.

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.