Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.