Class: Cas::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bcms_cas/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#server_urlObject

Returns the value of attribute server_url.



18
19
20
# File 'lib/bcms_cas/configuration.rb', line 18

def server_url
  @server_url
end

Instance Method Details

#executeObject



20
21
22
23
# File 'lib/bcms_cas/configuration.rb', line 20

def execute
  params = {:cas_base_url => server_url, :extra_attributes_session_key => :cas_extra_attributes}
  CASClient::Frameworks::Rails::Filter.configure(params)
end