#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Posts
    2
    Rep Power
    0

    Gettign the user credentials for LDAP logged in user!


    Is there a way to get the credential for the LDAP logged in user to pass it to other application for seamless login.


    Any workaround suggetions?

    Thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2009
    Location
    Charlotte, NC
    Posts
    111
    Rep Power
    9
    Originally Posted by amtech_inc
    Is there a way to get the credential for the LDAP logged in user to pass it to other application for seamless login.


    Any workaround suggetions?

    Thanks!
    That depends on how you have stored the user's credentials in the LDAP Directory. If they are in plain text then just retrieve them, although storing passwords in plain text is not recommended. If you store passwords in all repositories using say SHA encryption, then you could retrieve the SHA encrypted password from ldap and then do a compare to the password in the next repository. If you use user certificates for authentication then once you have retrieved the user's certificate from LDAP you can present it to the other systems. Else you need a single sign on system that all applications subscribe to so that a common token is created during the first logon and used for all others.

IMN logo majestic logo threadwatch logo seochat tools logo