Results 1 to 4 of 4

Thread: Any utilities to decode an LDAP password

  1. #1
    Join Date
    Aug 2004
    Location
    Denver
    Posts
    249

    Default Any utilities to decode an LDAP password

    Are there any utilities in to decode the "userPassword" attribute to a String or do I need to write that functionality myself?

    Thanks,

  2. #2
    Join Date
    Mar 2005
    Location
    Landskrona, Sweden
    Posts
    505

    Default

    We pretty much ignore the actual data type of the attributes and leave it up to the user to keep track of that, so you'll probably need to take care of this yourself.

    If you happen to invent some general way of handling this type of thing in Spring LDAP it's quite likely to be something we might want to include .
    Mattias Arthursson
    Jayway AB (www.jayway.se)
    Spring-LDAP project member

  3. #3
    Join Date
    Aug 2004
    Location
    Denver
    Posts
    249

    Default

    I managed to figure out what I wanted to do, which was basically to create a UserDetailsService for Acegi that talks to LDAP instead of a database.

    http://forum.springframework.org/showthread.php?t=30061

    Thanks for your help - Spring-LDAP rocks! ;-)

    Matt

  4. #4
    Join Date
    Nov 2006
    Posts
    1

    Default

    userPassword is (may be) encoded with a unix crypt command. I use this Java implementation:
    http://www.dynamic.net.au/christos/crypt/

Posting Permissions

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