Use the stored user credentials to look up roles
[catagits/Catalyst-Authentication-Store-LDAP.git] / Changes
1   - Escape special characters in user/role names
2   - Use the stored user credentials to look up roles
3
4 1.014 26 April 2013
5   - Don't fall back to unauthenticated bind when authenticating
6
7 1.013  9 January 2013
8   - fix for https://rt.cpan.org/Ticket/Display.html?id=81908 security hole.
9
10 1.012  5 October 2010
11   - add methods conforming to the Catalyst::Authentication::User API
12     as required here:
13     http://search.cpan.org/dist/Catalyst-Plugin-Authentication/lib/Catalyst/Plugin/Authentication/Internals.pod#USER_METHODS
14     Nudging provided via RT https://rt.cpan.org/Ticket/Display.html?id=60793
15   - add documentation for Active Directory at suggestion of Adam Wohld
16   - Make ->can work for AUTOLOADED $user methods
17
18 1.011  7 July 2010
19   - fix t/05-user_attributes.t to skip correct number of tests if
20     Catalyst::Model::LDAP is not installed.
21
22 1.010  6 July 2010
23   - Make AUTOLOAD method work for ->dn by generically calling has_attribute
24     which has a special case for it.
25   - Unify the handling of the ->username method between AUTOLOAD and
26     has_attribute by special casing it more generically in has_attribute.
27     Both RT#57610, patch and tests by Jason Fried
28
29 1.009  15 May 2010
30    - Fix pod for get_user() and from_session() in Backend.pm, adding
31      the missing $c param. Pass $c in from_session() through to get_user().
32      Reported in https://rt.cpan.org/Ticket/Display.html?id=56983 with
33      patch from Bjørn-Olav Strand.
34
35 1.008  02 April 2010
36    - Allow for multiple uid values on a User object. See RT
37      https://rt.cpan.org/Ticket/Display.html?id=51505
38      and patch from Andrew Kirkpatrick.
39
40 1.007  19 Mar 2010
41    - Store the user password for the ldap_connection method in an inside
42      out hash rather than a closure so that the user object can be serialized
43      with Storable as people are putting them in the session (RT#53279)
44
45 1.006  11 Dec 2009
46    - Pass $c along to find_user method so overridden user_class users can
47      get at models (or whatever crazy things they might do) (gphat)
48    - Add an ldap_connection method to the user class, which will return
49      an LDAP connection bound as the user who authenticated.
50    - Trim trailing whitespace from submitted usernames otherwise we generate
51      bad LDAP queries.
52
53 0.1005  30 April 2009
54    - Stop throwing an exception when the lookup_user method fails
55       to find a user and instead return undef. (t0m)
56    - Add tests for above (t0m)
57    - Change documentation which still refers to the old ::Plugin:: style
58      auth system to use ->authenticate instead of ->login, and not say that
59      you need to do things manually to have multiple stores. (t0m)
60
61 0.1004  21 Oct 2008
62    - Add the ability to have the user inflated into a custom
63      user class with the user_class option (t0m)
64    - Add the ability for role lookup to be performed within
65      the same (user) bind context that the user's password is
66      checked in (t0m)
67
68 0.1003  10 Sept 2008
69     - get entries in array context rather than scalar context, 
70       allowing for multiple values. patch by scpham.
71     - lc() to compare Net::LDAP results with supplied $id
72       bug reported via RT #39113
73
74
75 0.1002  9 July 2008
76     - tests updated to use Net::LDAP::Server::Test 0.03
77
78
79 0.1001  9 April 2008
80     - matthewr pointed out that the SYNOPSIS 'use Catalyst' line is wrong.
81     - imacat reported that t/03-entry was failing when Catalyst::Model::LDAP was
82       not installed. Fixed RT# 34777.
83
84
85 0.1000  4 Feb 2008
86     - forked from Catalyst::Plugin::Authentication::Store::LDAP and name changed 
87       to Catalyst::Authentication::Store::LDAP
88     - tests now use Net::LDAP::Server::Test instead of relying on openldap.org
89     - changed release date for 0.0600
90     - added AD config suggestions from matija@serverflow.com
91     - bumped req base Auth package to 0.10003
92     - lookup_user() now throws an exception if there is more than one entry returned
93       from a LDAP search
94     - added new user_search_filter config option to filter out multiple entries on
95       Perl side
96
97
98 0.0600  karman 18 Oct 2007 [was: omega Thu Aug 09 09:22:00 CET 2007]
99     - Someone had put some 0.052 version out, need to bump past that
100     - Add realms API support to match newest C::P::Authentication API. (karman)
101     - Add POD tests. (karman)
102     
103 0.06 omega Thu Aug 09 09:00:00 CET 2007
104     - Added support for entry_class in the same way that Catalyst::Model::LDAP
105       supports it, allowing one to override what class is returned from
106       $c->user->ldap_entry, and thus allowing one to add methods to the user
107       object
108       
109 0.05
110     - Added support for multiple identifiers.
111
112 0.04 adam Tue Mar 21 15:31:57 PST 2006
113     - Fixed rt.cpan.org #18250, sample YAML config incorrectly using arrays
114     - Added some error checking around whether or not we have been properly
115       configured.
116
117 0.03 adam Fri Feb 17 09:51:36 PST 2006
118     - Gavin Henry's documentation patch for YAML configuration
119
120 0.02 adam Fri Feb 10 14:10:23 PST 2006
121     - Now throws an exception if the initial bind fails
122     - Changed the default role_filter from (member=%s) to (memberUid=%s)
123     - Fixed bug in Backend->lookup_user that was not properly handling
124       when a user was not found in the backing store at all.
125
126 0.01 adam Thu Feb  8 14:28:18 2006  
127     - initial revision
128     - supports authentication
129     - supports roles
130