cschiewek / devise_ldap_authenticatable

Devise Module for LDAP
MIT License
594 stars 359 forks source link

Memoize ldap entry #171

Closed blt04 closed 10 years ago

blt04 commented 10 years ago

This minimizes repetitive queries to the LDAP server by memorizing the LDAP entry in the Connection and model. It also adds a ldap_entry method for easily getting a reference to the Net::LDAP::Entry object from the model.