Announcement Announcement Module
Collapse
No announcement yet.
Any utilities to decode an LDAP password Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


    • #3
      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

      Comment


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

        Comment

        Working...
        X