[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Accessing Secured LDAP (ldaps) by java client and spring java program?

Posted on 2011-10-27
Medium Priority
Last Modified: 2012-05-12
1) Java client:
Currently my java code accesses unsecured LDAP. Now my ldap is secured by ssl. what changes i need to make in intialcontext to access secured ldap. Also do i need to encode the I info I sent to ldap and decode the information received from LDAP? I use lot of search filter to retrieve information from java and also create object. Do client also need any cert file?

1) Spring java program : I also use spring authetication for a different project. What changes i need to do in my file to access secured ldap.

Question by:mb2009

Accepted Solution

DataCruncher earned 2000 total points
ID: 37041168

Author Comment

ID: 37042391
If web business component accesses secured ldap, do I need to add this -Djavax.net.ssl.keyStore=MyKeystoreFile \
    -Djavax.net.ssl.keyStorePassword=mysecret \ in app server runtime argument?

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month18 days, 23 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question