Sha256: 9a0cb2e6c986cc86ce06ad40b43c20af4c423cfcbe0e7b4501b8848e9e608a58
Contents?: true
Size: 880 Bytes
Versions: 1
Compression:
Stored size: 880 Bytes
Contents
module Castronaut module Adapters def self.selected_adapter case Castronaut.config.cas_adapter['adapter'] when "development" require File.expand_path(__FILE__, 'adapters' 'development', 'adapter') require File.expand_path(__FILE__, 'adapters' 'development', 'user') Castronaut::Adapters::Development::Adapter when "ldap" require File.expand_path(__FILE__, 'adapters' 'ldap', 'adapter') require File.expand_path(__FILE__, 'adapters' 'ldap', 'user') Castronaut::Adapters::Ldap::Adapter when "database" require File.expand_path(__FILE__, 'adapters' 'restful_authentication', 'adapter') require File.expand_path(__FILE__, 'adapters' 'restful_authentication', 'user') Castronaut::Adapters::RestfulAuthentication::Adapter end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nbudin-castronaut-0.7.5 | lib/castronaut/adapters.rb |