Sha256: 833a2ff997ab8950efc629828eaba37ab0dead03d766cdf345f706077eaf1b8d

Contents?: true

Size: 365 Bytes

Versions: 17

Compression:

Stored size: 365 Bytes

Contents

module Castronaut
  module Adapters
    
    def self.selected_adapter
      case Castronaut.config.cas_adapter['adapter']
        when "development" : Castronaut::Adapters::Development::Adapter
        when "ldap" : Castronaut::Adapters::Ldap::Adapter
        when "database" : Castronaut::Adapters::RestfulAuthentication::Adapter
      end
    end
    
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
p8-castronaut-0.6.1.1 lib/castronaut/adapters.rb
relevance-castronaut-0.4.1 lib/castronaut/adapters.rb
relevance-castronaut-0.4.2 lib/castronaut/adapters.rb
relevance-castronaut-0.4.3 lib/castronaut/adapters.rb
relevance-castronaut-0.4.4 lib/castronaut/adapters.rb
relevance-castronaut-0.4.5 lib/castronaut/adapters.rb
relevance-castronaut-0.4.6 lib/castronaut/adapters.rb
relevance-castronaut-0.5.0 lib/castronaut/adapters.rb
relevance-castronaut-0.5.1 lib/castronaut/adapters.rb
relevance-castronaut-0.5.2 lib/castronaut/adapters.rb
relevance-castronaut-0.5.3 lib/castronaut/adapters.rb
relevance-castronaut-0.5.4 lib/castronaut/adapters.rb
relevance-castronaut-0.6.0 lib/castronaut/adapters.rb
relevance-castronaut-0.6.1 lib/castronaut/adapters.rb
relevance-castronaut-0.7.4 lib/castronaut/adapters.rb
relevance-castronaut-0.7.5 lib/castronaut/adapters.rb
factorylabs-castronaut-0.7.5 lib/castronaut/adapters.rb