Support caching of LDAP group member lookups
authorMarius Mathiesen <marius@gitorious.org>
Wed, 19 Sep 2012 08:26:40 +0000 (10:26 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Mon, 8 Oct 2012 07:41:36 +0000 (09:41 +0200)
commit093f49ced48a7ed05582a6a9babd41b926d36a7e
tree95288c5e87d3411473875bd0707d4dc554b55607
parent38e2a59cdad29f9e4d84defaf76d55fda709ea2c
Support caching of LDAP group member lookups

A cache expiry can be defined in authentication.yml to have Gitorious
cache the usernames which are members of a group.
app/models/ldap_group.rb
config/authentication.sample.yml
lib/gitorious/authentication/ldap_configurator.rb
test/unit/ldap_group_test.rb