public
Description: CAS Server
Homepage:
Clone URL: git://github.com/relevance/castronaut.git
name age message
file .autotest Tue Sep 09 08:34:34 -0700 2008 Service ticket validation complete [spicycode]
file .gitignore Tue Jul 07 12:28:06 -0700 2009 RCR bumping [abedra]
file MIT-LICENSE Wed Sep 03 08:01:40 -0700 2008 Gem framework in place [spicycode]
file README.textile Thu Jul 30 12:10:25 -0700 2009 nudge runcoderun [abedra]
file Rakefile Sat Sep 19 16:03:38 -0700 2009 more threshold changes [abedra]
file VERSION.yml Fri May 22 08:09:48 -0700 2009 Version bump to 0.7.5 [abedra]
directory app/ Fri May 22 07:12:24 -0700 2009 fixing deprication warnings [abedra]
directory bin/ Sat Jan 24 12:15:14 -0800 2009 converting to jeweler for packaging, fixing err... [abedra]
file castronaut.gemspec Fri May 22 08:09:50 -0700 2009 Regenerated gemspec for version 0.7.5 [abedra]
file castronaut.rb Fri May 22 07:01:39 -0700 2009 fixing test suite to work with the latest versi... [abedra]
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/ Sat Jun 13 13:36:42 -0700 2009 doh [abedra]
directory script/ Sat Jan 24 10:25:46 -0800 2009 fixing script/console [abedra]
directory spec/ Fri May 22 08:07:51 -0700 2009 fixing build [abedra]
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