This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install relevance-castronaut
| name | age | message | |
|---|---|---|---|
| |
.autotest | Tue Sep 09 08:34:34 -0700 2008 | |
| |
.gitignore | Fri Oct 10 16:01:43 -0700 2008 | |
| |
MIT-LICENSE | Wed Sep 03 08:01:40 -0700 2008 | |
| |
README.textile | Fri Oct 10 19:25:52 -0700 2008 | |
| |
Rakefile | Sat Jun 13 13:32:40 -0700 2009 | |
| |
VERSION.yml | Fri May 22 08:09:48 -0700 2009 | |
| |
app/ | Fri May 22 07:12:24 -0700 2009 | |
| |
bin/ | Sat Jan 24 12:15:14 -0800 2009 | |
| |
castronaut.gemspec | Fri May 22 08:09:50 -0700 2009 | |
| |
castronaut.rb | Fri May 22 07:01:39 -0700 2009 | |
| |
config/ | Fri Jan 02 18:24:25 -0800 2009 | |
| |
doc/ | Sat Jan 24 10:03:34 -0800 2009 | |
| |
lib/ | Sat Jun 13 13:36:42 -0700 2009 | |
| |
script/ | Sat Jan 24 10:25:46 -0800 2009 | |
| |
spec/ | Fri May 22 08:07:51 -0700 2009 | |
| |
vendor/ | Sat Jan 24 10:54:08 -0800 2009 |
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










