Re: authentificating with ldap javax.security.auth.login.LoginException on org.apache.catalina.realm.JAASRealm authenticate
| Newsgroups | gmane.comp.jakarta.jetspeed.user |
|---|---|
| Message-ID | <OFAD7D6085.D3B614E0-ONC1257920.002ACE92-C1257920.002BAEFE@LocalDomain> |
Hello, One more problem solved: userPassword attribute creation in the ldap With my configuration, user password wasn't created during registration stage. I have added back the cn attribute in userDao configuration, and the userPassword attribute is created in the ldap. One more problem found: The password is crypted in SHA-1 (it could be changed easily in configuration). When I connect with my new user, it doesn't work (invalid username ) When I change the password directley in the ldap: II put it in raw text, the authentification is OK. To see if the problem comes from encryption et decryption, I tried to check it in my ldap. That's OK. So it would mean that encryption in SHA-1 is OK, decryption is not. (or there is something more to configure). Regards, Jérôme Exposition Vogue : l'aventure d'une maison de disque - jusqu'au13 novembre 2011 - BnF - François-Mitterrand / Allée Julien Cain Avant d'imprimer, pensez à l'environnement.