[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 717
  • Last Modified:

Stubbing LDAP (Junit Question)

Hi I was just wondering if anyone has any experience in Stubbing LDAP? I am trying to JUNIT test some code that needs access to LDAP. Anyone have any ideas?Tutorials? Sample Code? or advice?

I am using Eclipse.

0
JimmyHackNSlash
Asked:
JimmyHackNSlash
1 Solution
 
petmagdyCommented:
Hi JimmyHackNSlash,

Go to http://www.openldap.org, openLDAP is an open source LDAP Server and can be installed on any OS, then u will need an LDAP browser, there are many, u will find in the same site links for those.

When u setup and start openldap it will operate on port 389 (this is the defualt port for LDAP), now u can test ur LDAP code after suppling the connection parameters

Cheers!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now