Ldap improvements #76

merged 4 commits into from Sep 17, 2012
Commits on Sep 17, 2012
  1. consolidate LDAP and LDAPHierarchical auth

    helix84 committed Aug 24, 2012
    Thanks to the previously merged DS-1180, the LDAPHierarchicalAuthentication
    method gaind the capabilities of LDAPAuthentication. This commit renames
    LDAPHierarchicalAuthentication to LDAPAuthentication and removes the
    original LDAPAuthentication.
  2. fix the special case of anonymous LDAP search

    helix84 committed Sep 14, 2012
    Hierarchical LDAP originally assumed that when search.user is not
    set, anonymous search is performed. We now assume that if it's
    not set, simple LDAP authentication is performed. That retains
    configuration backward comaptibility for the two most common cases.
    The special case of anonymous search now requires search.anonymous
    to be set to true, which means old installations using this setup
    will have to add this config property.