Results 1 to 8 of 8

Thread: Acegi and ldap authentication

  1. #1
    Join Date
    Aug 2004
    Location
    France - Saint Nazaire
    Posts
    79

    Default Acegi and ldap authentication

    Hi,

    I see some posts about an LdapPasswordAuthenticationDaoImpl in the following thread:
    http://forum.springframework.org/showthread.php?t=9778

    Is this class now included with the distribution?
    Thierry
    Last edited by robyn; May 14th, 2006 at 05:19 PM.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    It is still in the sandbox as unit testing an LDAP server is a bit of a challenge, especially on a Windows-only platform. Anyone know of a good approach?

    You'll need to checkout Acegi Security from CVS in order to use the sandbox (it's the only item remaining in it, by the way).

  3. #3
    Join Date
    Aug 2004
    Location
    Chester Springs, PA
    Posts
    18

    Default

    do you know when this might make it into a release?
    is this Active Directory LDAP, OpenLDAP or Sun LDAP? or other?
    In theory there is no difference between theory and practice, but in practice there is.

  4. #4
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    LDAP support is a priority and will be added to either 0.9.0 or 1.0.0 of Acegi Security. We now have unit tests, so it's just a case of refactoring certain aras of the code to maximise flexibility.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  5. #5
    Join Date
    Sep 2005
    Location
    San Francisco, CA
    Posts
    4

    Default

    I'd like to be able to control the attributes returned by the ldap server. UserSearchBean doesn't expose searchControls and doesn't use SearchControlsFactory. Is there a plan to support this feature?

  6. #6
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Due to the flexible nature of LDAP-based authentication, when I get a chance to refactor the existing LDAP classes I will be trying to make the workflow reasonably abstract and then use pluggable interface points (or at worst non-final methods) so that advanced customisation is possible.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  7. #7
    Join Date
    Aug 2004
    Location
    Auckland, New Zealand
    Posts
    4

    Default

    Quote Originally Posted by Ben Alex
    LDAP support is a priority and will be added to either 0.9.0 or 1.0.0 of Acegi Security. We now have unit tests, so it's just a case of refactoring certain aras of the code to maximise flexibility.
    Could you please give an indication as to when 0.9.0 is likely to be released and also whether the LDAP related code is likely to make the release.

    Thanks

  8. #8
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    0.9.0 will not contain LDAP support.

    It may be in 1.0.0, which will be out in December, but only if someone volunteers to take it over.

    To be honest, LDAP support does not require reengineering of any Acegi Security interfaces or extension points, so it can be added later without breaking backward compatibility. The major issue with LDAP is its significant flexibility and correspondingly wide deployment scenerios.

    In the meantime, people can copy what is in the sandbox and adapt their own solution.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

Similar Threads

  1. Replies: 8
    Last Post: Mar 19th, 2008, 11:13 AM
  2. Authentication with LDAP or POP3?
    By kajism in forum Security
    Replies: 21
    Last Post: Jul 23rd, 2007, 04:50 AM
  3. LDAPPasswordAuthenticationDao problem
    By benoit_m35 in forum Security
    Replies: 15
    Last Post: Jan 11th, 2006, 07:04 AM
  4. Acegi for LDAP
    By vaibhav.gandhi in forum Security
    Replies: 12
    Last Post: Jul 13th, 2005, 12:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •