Module: Cas::SingleLogOut

Defined in:
lib/bcms_cas/authentication.rb

Overview

Extends the core SessionController to properly destroy the local session on logout, and redirect to CAS for Single Log out.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(controller_class) ⇒ Object



57
58
59
60
# File 'lib/bcms_cas/authentication.rb', line 57

def self.included(controller_class)
  controller_class.send(:include, InstanceMethods)
  controller_class.alias_method_chain :destroy, :cas
end