Jump to content
We've recently updated our Privacy Statement, available here ×

JasperSoft LDAP Authentication


meghrach

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...