From: Tomas Doran Date: Thu, 10 Dec 2009 17:25:41 +0000 (+0000) Subject: Merge 'better_model_integration' into 'trunk' X-Git-Tag: v0.1006~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Store-LDAP.git;a=commitdiff_plain;h=a8fb838af9e57d5a5b53484c33fe61479e725fe4 Merge 'better_model_integration' into 'trunk' r27882@omni (orig r9910): t0m | 2009-04-28 13:35:52 +0100 Initial idea - make the user class instance have a closure which when called will retrieve an LDAP connection bound as the user, not so pleasant, but better than saving the password in the user object in plaintext.. --- a8fb838af9e57d5a5b53484c33fe61479e725fe4 diff --cc lib/Catalyst/Authentication/Store/LDAP/User.pm index 559ba16,527ee47..de6e036 --- a/lib/Catalyst/Authentication/Store/LDAP/User.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/User.pm @@@ -49,9 -49,9 +49,9 @@@ use base qw( Catalyst::Authentication:: use strict; use warnings; -our $VERSION = '0.1004'; +our $VERSION = '0.1005'; - BEGIN { __PACKAGE__->mk_accessors(qw/user store/) } + BEGIN { __PACKAGE__->mk_accessors(qw/user store _ldap_connection/) } use overload '""' => sub { shift->stringify }, fallback => 1;