Skip to content

Instantly share code, notes, and snippets.

@nicolasiensen
Created May 8, 2014 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicolasiensen/29b2bccdbf92c0f29e3c to your computer and use it in GitHub Desktop.
Save nicolasiensen/29b2bccdbf92c0f29e3c to your computer and use it in GitHub Desktop.
defaults: &defaults
login_ticket:
lifetime: 600
service_ticket:
lifetime_unconsumed: 300
lifetime_consumed: 86400
proxy_ticket:
lifetime_unconsumed: 300
lifetime_consumed: 86400
frontend:
sso_name: "CASino"
footer_text: "Powered by <a href=\"http://rbcas.com/\">CASino</a>"
development:
authenticators:
meurio_accounts:
authenticator: "ActiveRecord"
options:
connection:
adapter: "postgresql"
host: "localhost"
username: "nicolasiensen"
password:
database: "meurio_accounts_development"
table: "users"
username_column: "email"
password_column: "encrypted_password"
test:
<<: *defaults
authenticators:
static:
class: "CASino::StaticAuthenticator"
options:
users:
testuser:
password: "foobar123"
production:
<<: *defaults
authenticators:
my_company_ldap:
authenticator: "ldap"
options:
host: "localhost"
port: 12445
base: "dc=users,dc=example.com"
username_attribute: "uid"
encryption: "simple_tls"
extra_attributes:
email: "mail"
fullname: "displayname"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment