wood burning stoves
The moose likes Spring and the fly likes Test ldap Service Spring security authentification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Test ldap Service Spring security authentification" Watch "Test ldap Service Spring security authentification" New topic

Test ldap Service Spring security authentification

M Marin
Ranch Hand

Joined: Feb 20, 2010
Posts: 32

I am trying to use this test ldap service for authentication with spring security:


following details are given:


ldap.provider_url = ldap://ldap.testathon.net:389/
ldap.id_field = cn
ldap.object_context = OU=users,DC=testathon,DC=net
ldap.search_context = OU=users,DC=testathon,DC=net
ldap.email_field = mail
ldap.surname_field = sn
ldap.givenname_field = givenName
ldap.phone_field = telephoneNumber

But I am Still not able to get a working configuration.

My configuration is:


??? - I am stuck here


<ldap-server url="ldap.testathon.net:389" manager-dn="CN=stuart,OU=users,DC=testathon,DC=net" manager-password="stuart" />



Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

I would encourage you to use an embedded ldap server for this purpose.


Here is a blog giving a walk through on it.

[How To Ask Questions][Read before you PM me]
I agree. Here's the link: http://aspose.com/file-tools
subject: Test ldap Service Spring security authentification
It's not a secret anymore!