Sha256: d2276e2b39bf95ef45f051d9db0e18cec4c1b20d71e0d8d1b579887fb6966118

Contents?: true

Size: 446 Bytes

Versions: 30

Compression:

Stored size: 446 Bytes

Contents

module UcbRailsUser
  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

30 entries across 30 versions & 1 rubygems

Version Path
ucb_rails_user-7.0.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-6.2.2 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-6.2.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-6.1.1 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-6.1.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-6.0.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-5.0.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.1.2 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.1.1 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.1.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.7 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.6 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.5 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.4 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.3 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.2 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.1 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.0 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-3.0.2 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb
ucb_rails_user-4.0.0.beta1 app/models/ucb_rails_user/user_session_manager/in_people_ou.rb