meghrach Posted October 12, 2012 Share Posted October 12, 2012 Passwords in our LDAP are stored using MD5 Hex. I am using LDAP passwordcomparionauthenticator to compare the passwords. What passwordencoder class should I be using. I see for SHA encoding, passwordencoder LDAPShaPasswordEncoder can be used.Thanks,SK Link to comment Share on other sites More sharing options...
mrcaffeine Posted October 16, 2012 Share Posted October 16, 2012 Can you please share your LDAP configuration? There is a pre-configured LDAP setup already that needs to be enabled, it is documented in the Authentication Cookbook (commercial documentation), also there are a few wiki articles in teh community, e.g. here: http://community.jaspersoft.com/wiki/how-install-test-and-integrate-openldap-jasperserver Link to comment Share on other sites More sharing options...
meghrach Posted October 18, 2012 Author Share Posted October 18, 2012 Here you go this is the LDAP configuration pidfile /var/run/slapd.pid argsfile /var/run/slapd.args allow bind_v2 password-hash {MD5} database hdb suffix "" rootdn "cn=xxxxx" rootpw xxxxx directory /usr/local/database index objectClass eq Users are stored in this format. dn: cn=TEST, ou=one, o=xxx objectClass: top objectClass: person objectClass: organizationalPerson cn: TEST sn: TEST userpassword: {MD5}XXXXXXXXXXXXXXXXXXXXXXXXX title: admin My question which LDAP encoder class should I use to do a password comparsion in jaspersecurity. THe MD5 used here is MD5 Hex anot MD5 Base 64. Thanks for your help. SK Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now