Sha256: ff7eb70d3be61dd2e11027d0f93a981126faad5b51e9cd35ab6ba5113d11b927

Contents?: true

Size: 475 Bytes

Versions: 13

Compression:

Stored size: 475 Bytes

Contents

module UcbRails
  module UserSessionManager
    class InPeopleOu < Base
      
      def login(uid)
        self.uid = uid
        
        if people_ou_entry.present?
          current_user(uid)
        else
          false
        end
      end
      
      def current_user(uid)
        self.uid = uid
        
        if people_ou_entry.present?
          ldap_person_user_wrapper(people_ou_entry)
        else
          nil
        end
      end
      
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.13 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.12 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.11 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.10 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.9 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.8 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.7 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.6 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.5 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.4 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.3 app/models/ucb_rails/user_session_manager/in_people_ou.rb
ucb_rails-0.0.2 app/models/ucb_rails/user_session_manager/in_people_ou.rb