my dog learned polymorphism
The moose likes Tomcat and the fly likes Tomcat LDAP Authentication 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 » Products » Tomcat
Bookmark "Tomcat LDAP Authentication" Watch "Tomcat LDAP Authentication" New topic

Tomcat LDAP Authentication

K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
I am trying to do LDAP Authentication from Tomcat. When I am accessing the web page am getting pop-up for username and password and after given the user credential, tomcat console displaying the error message.
Configuration Details :


Error Details :
SEVERE: Exception performing authentication
javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C09
062B, comment: In order to perform this operation a successful bind must be comp
leted on the connection., data 0, vece ]; remaining name 'TestUser@SoftphoneAD.c

Please tell me where I did the mistakes.

Thanks and Regards,
SureshKumar K
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17168

You are trying to bind to the LDAP server for authentication , but you're not supplying a password and it can't do an anonymous bind the way you have it presently set up.

An IDE is no substitute for an Intelligent Developer.
K.Suresh Kumar
Ranch Hand

Joined: Nov 21, 2007
Posts: 41
Hi Tim Holloway,
Thanks for your reply. Please tell me how to pass the password for present LDAP bind and also give me a guidelines about how to do anonymous bind.

Sureshkumar K
I agree. Here's the link:
subject: Tomcat LDAP Authentication
It's not a secret anymore!