public
Description: CAS Server
Homepage:
Clone URL: git://github.com/relevance/castronaut.git
abedra (author)
Sat Jun 13 13:36:42 -0700 2009
commit  e8b13357f1f2ff7fb803bafbe0cc96c0a000a715
tree    891de7935fff71275009b5256c9a769cb9006fe4
parent  d5b74202dbff0cf3103a60096e739c58b67a1a99
name age message
file .autotest Tue Sep 09 08:34:34 -0700 2008 Service ticket validation complete [spicycode]
file .gitignore Fri Oct 10 16:01:43 -0700 2008 adding support for ldap authentication [abedra]
file MIT-LICENSE Wed Sep 03 08:01:40 -0700 2008 Gem framework in place [spicycode]
file README.textile Fri Oct 10 19:25:52 -0700 2008 indenting ldap options in readme [abedra]
file Rakefile Loading commit data...
file VERSION.yml
directory app/
directory bin/
file castronaut.gemspec
file castronaut.rb Mon May 11 12:46:19 -0700 2009 more gem :foo => gem 'foo' conversions for respec [tmacklin]
directory config/ Fri Jan 02 18:24:25 -0800 2009 adding support for castronaut binary to write s... [abedra]
directory doc/ Sat Jan 24 10:03:34 -0800 2009 updating docs [abedra]
directory lib/
directory script/ Sat Jan 24 10:25:46 -0800 2009 fixing script/console [abedra]
directory spec/
directory vendor/ Sat Jan 24 10:54:08 -0800 2009 upgrading activerecord and activesupport [abedra]
README.textile

Castronaut

Description

Castronaut is an server implementation for the CAS (version 2.0) protocol. It is currently a work in progress but should
function properly with the latest release of Restfult Auth. More authentication adapters coming soon.

Usage

castronaut

or

castronaut -C /path/to/config

Support

  • Database authentication with the restful authentication encryption routines.
  • LDAP (openLDAP) annonymous bind only. Authenticated bind comming soon.

Configuration

Castronaut requires a configuration file to function. Your configuration should be similar to the following:

organization_name: Foo Bar Baz Industries, LLC Inc. A division of Holdings Co. environment: development server_port: 4567 log_directory: log log_level: Logger::DEBUG ssl_enabled: false cas_database: adapter: sqlite3 database: db/cas.db timeout: 5000 cas_adapter: adapter: database site_key: 03523your093023site0985225key098290here9 digest_stretches: 10 database: adapter: sqlite3 database: db/cas_adapter.db timeout: 5000 Uncomment these to enable authentication callbacks callbacks: on_authentication_success: http://example.com/authentication/success on_authentication_failed: http://example.com/authentication/failed extra_ui_actions: ‘Forgot Password’: http://example.com/

or if you are using LDAP

Use this example if you are using LDAP as your authentication source cas_adapter: adapter: ldap host: localhost port: 389 prefix: cn= base: dc=example, dc=com