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..
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;